From: David Gibson Date: Mon, 21 Nov 2016 13:47:37 +0000 (+1100) Subject: ccanlint: Remove unused variable X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=615189ae6de685ae6eb5a19b877340d731bba747;hp=c162378ac51ba2376ff6766c91167da177fcb848 ccanlint: Remove unused variable Remove a warning caused by the unused 'explain' variable in headers_idempotent.c. Signed-off-by: David Gibson --- diff --git a/tools/ccanlint/tests/headers_idempotent.c b/tools/ccanlint/tests/headers_idempotent.c index 56c37ef7..79e5c367 100644 --- a/tools/ccanlint/tests/headers_idempotent.c +++ b/tools/ccanlint/tests/headers_idempotent.c @@ -13,14 +13,6 @@ #include #include -static const char explain[] -= "Headers usually start with the C preprocessor lines to prevent multiple\n" - "inclusions. These look like the following:\n" - "#ifndef CCAN__H\n" - "#define CCAN__H\n" - "...\n" - "#endif /* CCAN__H */\n"; - static void fix_name(char *name) { unsigned int i;