Trying to attach a patch to fix the build warning from https://sourceforge.net/tracker/?func=detail&aid=3591521&group_id=38894&atid=423799
I couldn't attach a patch over on that page after filing it, so I'm attaching it here (after clicking "patches" | "add new" in sourceforge). Hopefully that's some approximation of the correct process.
fix: add braces around "else" condition