Skip to content
Commit cf676908 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

gcc-9: don't warn about uninitialized variable



I'm not sure what made gcc warn about this code now.  The 'ret' variable
does end up initialized in all cases, but it's definitely not obvious,
so the compiler is quite reasonable to warn about this.

So just add initialization to make it all much more obvious both to
compilers and to humans.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6f303d60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment