Disable -Wmaybe-uninitialized for setjmp
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Dec 2014 03:47:24 +0000 (22:47 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Dec 2014 18:03:10 +0000 (13:03 -0500)
commit28d2570dd0833e9356f05475ca8354ad1435ddaa
tree9ed7b045181b268031313456df3e7595e2658dce
parent7eccadb0b39166acf896d57151bd5ffbaed766e3
Disable -Wmaybe-uninitialized for setjmp

Gcc 4.9.2 complains.

Setting bool err = 0 or something doesn't matter btw; the actual complaint is
for an anonymous variable.  The returns twice might be confusing, or maybe that
the compiler can't see the code for slim_setjmp.  The usages of slim_setjmp in
ASM looks fine (immediately tests eax).
kern/include/setjmp.h