Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] submodule.c: Squelch a "use before assignment" warning

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:45

Christoph Bartoschek [off-list ref] writes:
Why is the compiler not complaining about the fake initalization? For 
initialization a value is used that is not initialized.
That is a fairly well established idiom to tell gcc "you may mistakenly
think it isn't, but this is used".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help