From: Carl Worth Date: Sun, 25 Oct 2009 23:03:45 +0000 (-0700) Subject: Add -Wswitch-enum and fix warnings. X-Git-Tag: 0.1~703 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=3bd4a2eaaa81380fdf8c6130cf636dacefb926fe;hp=3bd4a2eaaa81380fdf8c6130cf636dacefb926fe Add -Wswitch-enum and fix warnings. Having to enumerate all the enum values at every switch is annoying, but this warning actually found a bug, (missing support for NOTMUCH_STATUS_OUT_OF_MEMORY in notmuch_status_to_string). ---