From 615189ae6de685ae6eb5a19b877340d731bba747 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 22 Nov 2016 00:47:37 +1100 Subject: [PATCH 1/1] ccanlint: Remove unused variable Remove a warning caused by the unused 'explain' variable in headers_idempotent.c. Signed-off-by: David Gibson --- tools/ccanlint/tests/headers_idempotent.c | 8 -------- 1 file changed, 8 deletions(-) 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; -- 2.39.2