[ros-dev] [ros-diffs] [cgutman] 44286: - Initialize SocketError to 0 to prevent a bogus error from GCC
Timo Kreuzer
timo.kreuzer at web.de
Wed Nov 25 21:31:53 CET 2009
Warning in cases in which the compiler doesn't know whether something is
correct or not, is stupid in any case IMO, unless it's some
--enable-uber-pedantic-warnings compiler flag. It could as well say
"warning: your code could be wrong" and by chance this might be true.
Dmitry Gorbachev wrote:
> Notice that the warning is "may be used uninitialized" and not "is
> used uninitialized", so it is correct, in a sense.
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
>
More information about the Ros-dev
mailing list