[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] gfs2_tool: Clean up if (FALSE) redundancy



Clean up a redundant if (FALSE) condition in main()
--- cluster/gfs2/tool/main.c.old	2007-07-26 17:15:27.000000000 +0100
+++ cluster/gfs2/tool/main.c	2007-07-26 17:16:52.000000000 +0100
@@ -225,9 +225,7 @@
 
 	decode_arguments(argc, argv);
 
-	if (FALSE) {
-		/* Do Nothing */
-	} else if (strcmp(action, "clearflag") == 0)
+	if (strcmp(action, "clearflag") == 0)
 		set_flag(argc, argv);
 	else if (strcmp(action, "counters") == 0)
 		print_counters(argc, argv);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]