compile error r19409

Herbert Thoma herbert.thoma at
Fri Aug 6 09:37:31 EDT 2010


I get a compiler error in r19409:

cc1: warnings being treated as errors
dialog-file-access.c: In function ‘gnc_ui_file_access’:
dialog-file-access.c:253: error: ‘gconf_section’ may be used uninitialized in this function
make[5]: *** [dialog-file-access.lo] Fehler 1
make[5]: Leaving directory `/home/tma/gnucash/gnucash_cvs/gnucash_work/src/gnome-utils'

Initializing gconf_section with NULL fixes the warning. I don't
know if this is a real problem and if the fix will fix the real problem, if any.
May be there should be a default section in the switch statement later on.

Herbert Thoma
Dipl.-Ing., MBA
Head of Video Group
Multimedia Realtime Systems Department
Fraunhofer IIS
Am Wolfsmantel 33, 91058 Erlangen, Germany
Phone: +49-9131-776-6130
Fax:   +49-9131-776-6099
email: tma at

More information about the gnucash-devel mailing list