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: https://diplodocus.org/git/nmh/commitdiff_plain/93631cf10a11fb2a21860fd3110d4db09ff59519?hp=72ebd7fbe240b0cfe889025a1f05e318da8a5823 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 ed4e2f0d..d8fab615 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.