# HG changeset patch # User Matti Hamalainen # Date 1560450103 -10800 # Node ID 71880ce885dd16c7acff8972ec58fcf8cea38990 # Parent c63df53fdfce19d4735d273e6859f15bfde1cb98 Clean up useless break statements. diff -r c63df53fdfce -r 71880ce885dd tools/lib64gfx.c --- a/tools/lib64gfx.c Thu Jun 13 20:47:19 2019 +0300 +++ b/tools/lib64gfx.c Thu Jun 13 21:21:43 2019 +0300 @@ -892,15 +892,12 @@ case DS_SCREEN_RAM: case DS_COLOR_RAM: return fmt->chHeight * fmt->chWidth; - break; case DS_BITMAP_RAM: return fmt->chHeight * fmt->chWidth * 8; - break; case DS_CHAR_DATA: return D64_MAX_CHARS * D64_CHR_SIZE; - break; case DS_D020: case DS_BGCOL: @@ -909,12 +906,10 @@ case DS_D023: case DS_D024: return 1; - break; default: // Default to size of 0 return 0; - break; } }