[ecj] Fix build error
Gary Benson
gbenson@redhat.com
Wed Dec 13 10:38:00 GMT 2006
Hi all,
This commit fixes a build error. In my build environment warnings are
treated as errors; are you guys doing something weird to avoid this?
Cheers,
Gary
-------------- next part --------------
Index: ChangeLog
===================================================================
--- ChangeLog (revision 119820)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2006-12-13 Gary Benson <gbenson@redhat.com>
+
+ * jcf-depend.c (jcf_dependency_add_file): Mark filename unused.
+
2006-12-12 Tom Tromey <tromey@redhat.com>
* lang-specs.h: Pass -M options to jc1.
Index: jcf-depend.c
===================================================================
--- jcf-depend.c (revision 119820)
+++ jcf-depend.c (working copy)
@@ -100,7 +100,7 @@
}
void
-jcf_dependency_add_file (const char *filename, int system_p)
+jcf_dependency_add_file (const char *filename ATTRIBUTE_UNUSED, int system_p)
{
if (! dependencies)
return;
More information about the Java-patches
mailing list