projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72ebd7f
)
Slightly reformat the FINDCOMP macro to quell a clang warning about
author
Lyndon Nerenberg
<lyndon@orthanc.ca>
Tue, 16 Oct 2012 00:08:29 +0000
(17:08 -0700)
committer
Lyndon Nerenberg
<lyndon@orthanc.ca>
Tue, 16 Oct 2012 00:08:29 +0000
(17:08 -0700)
an empty for()-loop body.
h/fmt_scan.h
patch
|
blob
|
history
diff --git
a/h/fmt_scan.h
b/h/fmt_scan.h
index
ed4e2f0
..
d8fab61
100644
(file)
--- 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.