]> granicus.if.org Git - neomutt/commitdiff
Put variable declaration inside case-break into braces.
authorBertram Scharpf <software@bertram-scharpf.de>
Sun, 17 Jun 2018 13:44:00 +0000 (15:44 +0200)
committerRichard Russon <rich@flatcap.org>
Mon, 18 Jun 2018 23:35:37 +0000 (00:35 +0100)
hdrline.c

index 7874e287f28ea508e0fb38feebf75d4bfb6a2a78..10aeff5f6b8a66e6789f1a0cb1e44b2f6e6845ee 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -826,7 +826,8 @@ static const char *index_format_str(char *buf, size_t buflen, size_t col, int co
       FREE(&tags);
       break;
 
-    case 'G':;
+    case 'G':
+    {
       char format[3];
       char *tag = NULL;
 
@@ -862,7 +863,8 @@ static const char *index_format_str(char *buf, size_t buflen, size_t col, int co
           FREE(&tags);
         }
       }
-      break;
+    }
+    break;
 
     case 'H':
       /* (Hormel) spam score */