GNOME Bugzilla – Bug 435848
'self' unused warnings with -Wall
Last modified: 2007-05-09 12:14:40 UTC
Please describe the problem: When compiling generated code with -Wall, gcc outputs warnings saying that 'self' is unused in _get_property and _set_property when the class has no properties and _dispose when the class has no fields. Steps to reproduce: 1. Create a class without properties or fields 2. Compile the C source with -Wall 3. Actual results: Warning is emitted. Expected results: No warnings (self should be omitted from generated code) Does this happen every time? Yes Other information:
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.