Slightly reformat the FINDCOMP macro to quell a clang warning about
authorLyndon Nerenberg <lyndon@orthanc.ca>
Tue, 16 Oct 2012 00:08:29 +0000 (17:08 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Tue, 16 Oct 2012 00:08:29 +0000 (17:08 -0700)
an empty for()-loop body.

h/fmt_scan.h

index ed4e2f0..d8fab61 100644 (file)
@@ -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.