]> diplodocus.org Git - nmh/commitdiff
Wrapped code block of conditional statement with {}, so that the
authorDavid Levine <levinedl@acm.org>
Sun, 26 Jun 2016 01:22:37 +0000 (21:22 -0400)
committerDavid Levine <david.levine@gonift.com>
Sun, 26 Jun 2016 01:34:56 +0000 (21:34 -0400)
second statement is now included in the conditional.  Found by
gcc 6 -Wmisleading-indentation.

(cherry picked from commit 9626eb33ed5ff7c59776081e1a58a20a1eed96be)

uip/mhshowsbr.c

index a87778efcf7e4677a85b67317e140261d2205982..f410d1a41d7916d6418653774e980f1b1fb9609d 100644 (file)
@@ -126,11 +126,12 @@ show_all_messages (CT *cts, int concatsw, int textonly, int inlineonly)
        ct = *ctp;
 
        /* if top-level type is ok, then display message */
-       if (type_ok (ct, 1))
+       if (type_ok (ct, 1)) {
            if (headersw) output_header(ct, hfmt);
 
            show_single_message (ct, formsw, concatsw, textonly, inlineonly,
                                 mfmt);
+       }
     }
 
     free_markercomps();