[hatari-devel] small warnings in symbols.c

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


hello

with current hg, I get a warning while compiling

Building C object src/debug/CMakeFiles/Debug.dir/symbols.c.o
/home/npomarede/src/hatari-work/src/debug/symbols.c: In function 'Symbols_Command': /home/npomarede/src/hatari-work/src/debug/symbols.c:264:10: attention : 'offset' may be used uninitialized in this function [-Wuninitialized] /home/npomarede/src/hatari-work/src/debug/symbols.c:229:6: note: 'offset' was declared here

Probably harmless, but maybe you can assign a default value to silence it ?

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/