This trivial patch remove the warning when I try to compile sparse
in with sparse.
Another warning I did not fix is:
../pre-process.c:554:18: warning: bad constant expression
The offending line is:
struct arg args[nargs];
Chris
Index: sparse-be/cse.c
===================================================================
--- sparse-be.orig/cse.c 2005-02-17 22:51:09.000000000 -0500
+++ sparse-be/cse.c 2005-02-18 00:44:33.000000000 -0500
@@ -258,12 +258,12 @@
struct basic_block *parent;
if (bb_list_size(bb1->parents) != 1)
- return 0;
+ return NULL;
parent = first_basic_block(bb1->parents);
if (bb_list_size(bb2->parents) != 1)
- return 0;
+ return NULL;
if (first_basic_block(bb2->parents) != parent)
- return 0;
+ return NULL;
return parent;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html