Clean up some warnings

Let's see if this will quiet down the warnings on mingw
This is unnecessary, but gcc's static code analysis complains if it's not there.