summaryrefslogtreecommitdiffstats
path: root/flag.png
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-07 19:50:26 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-07 20:25:14 -0700
commit4cf244e22877388adcabef133e66b2810c0ab664 (patch)
tree3dd38902271447b013c5a6402b4722316a140dd6 /flag.png
parent1d02ba12a3342039c0156f48cb7a5103801aa368 (diff)
downloadsubsurface-4cf244e22877388adcabef133e66b2810c0ab664.tar.gz
Fix some of the gcc-4.8 warnings
Most of the warnings are IMHO false positives: e.g.: an enum variable is initialized in a switch statement that has a case for each possible enum value - yet gcc 4.8 warns that it could be used uninitialized; or: two variables are initialized together in the code - second one of them is previously initialized to -1 at declaration time, both are initialized in an if (second one == -1) clause - so they are guaranteed to both be initialized... I did not "fix" those as the code is actually correct. But there are three spots where it catches things that could indeed go wrong (with odd input data in one of them). This commit also adds a check to only call g_type_init() for older versions of glib as in newer ones it is deprecated. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'flag.png')
0 files changed, 0 insertions, 0 deletions