Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

usr.sbin/ldpd warns about uninitialized object



I typically compile system (i386) with -O2 and usr.sbin/ldpd/fsm.c generate
following warning (due to uninitialized variables check, enabled by -O greater
than 0):

cc1: warnings being treated as errors
/usr/src/usr.sbin/ldpd/fsm.c: In function 'run_ldp_hello':
/usr/src/usr.sbin/ldpd/fsm.c:59: warning: 'trtlv' may be used uninitialized in 
this function
*** [fsm.o] Error code 1

BTW: Should I use extra optimizations, like '-O2', for compiling entire 
system - or not?

-- 
Piotr 'aniou' Meyer


Home | Main Index | Thread Index | Old Index