ccanlint: Remove unused variable
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 21 Nov 2016 13:47:37 +0000 (00:47 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 21 Nov 2016 13:47:37 +0000 (00:47 +1100)
Remove a warning caused by the unused 'explain' variable in
headers_idempotent.c.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tools/ccanlint/tests/headers_idempotent.c

index 56c37ef7cbb59489d771d41d7b5f6562359a90b9..79e5c367d3a35d0dc4c433605a83512e17dee9c8 100644 (file)
 #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;