shut up a coverity warning about uninitialised var

It's not possible to get here with flags set to anything other
than the three cases in the switch, but it doesn't hurt to silence it