Browse Source

ccanlint: Remove unused variable

Remove a warning caused by the unused 'explain' variable in
headers_idempotent.c.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
David Gibson 9 years ago
parent
commit
615189ae6d
1 changed files with 0 additions and 8 deletions
  1. 0 8
      tools/ccanlint/tests/headers_idempotent.c

+ 0 - 8
tools/ccanlint/tests/headers_idempotent.c

@@ -13,14 +13,6 @@
 #include <string.h>
 #include <ctype.h>
 
-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_<MODNAME>_H\n"
-  "#define CCAN_<MODNAME>_H\n"
-  "...\n"
-  "#endif /* CCAN_<MODNAME>_H */\n";
-
 static void fix_name(char *name)
 {
 	unsigned int i;