From: Lyndon Nerenberg Date: Tue, 16 Oct 2012 00:08:29 +0000 (-0700) Subject: Slightly reformat the FINDCOMP macro to quell a clang warning about X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=93631cf10a11fb2a21860fd3110d4db09ff59519;p=mmh Slightly reformat the FINDCOMP macro to quell a clang warning about an empty for()-loop body. --- diff --git a/h/fmt_scan.h b/h/fmt_scan.h index ed4e2f0..d8fab61 100644 --- a/h/fmt_scan.h +++ b/h/fmt_scan.h @@ -62,7 +62,8 @@ extern struct comp *wantcomp[128]; #define FINDCOMP(comp,name) \ for (comp = wantcomp[CHASH(name)]; \ comp && strcmp(comp->c_name,name); \ - comp = comp->c_next) ; + comp = comp->c_next) \ + ; /* * This structure defines one formatting instruction.