changeset 2194:71880ce885dd

Clean up useless break statements.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Jun 2019 21:21:43 +0300
parents c63df53fdfce
children 868b68c188e5
files tools/lib64gfx.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
 }