misc: fix compilation with new gcc (unused variables warnings)
[libcmdline.git] / src / genconf / commands.c
index 1db4595..b18c1c7 100644 (file)
@@ -504,10 +504,10 @@ static void cmd_show_node_parsed(void *parsed_result,
 {
        struct cmd_show_node_result *res = parsed_result;
        struct confnode *n = res->node;
-       int details = 0;
+       /* int details = 0; */
 
-       if (data)
-               details = 1;
+       /* if (data) */
+       /*      details = 1; */
 
        while (n) {
                confnode_display_long(n);