From 93631cf10a11fb2a21860fd3110d4db09ff59519 Mon Sep 17 00:00:00 2001 From: Lyndon Nerenberg Date: Mon, 15 Oct 2012 17:08:29 -0700 Subject: [PATCH] Slightly reformat the FINDCOMP macro to quell a clang warning about an empty for()-loop body. --- h/fmt_scan.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 1.7.10.4