Get rid of a GCC build warning
authorMikael Berthe <mikael@lilotux.net>
Sun, 28 Apr 2013 10:29:02 +0200
changeset 2063 1b5a19b2ba44
parent 2062 163fb7b56e26
child 2064 01485f807811
Get rid of a GCC build warning Add a dummy enum value MKEY_NONE kill GCC complaint that the case value is not in enumerated type.
mcabber/mcabber/screen.h
--- a/mcabber/mcabber/screen.h	Sun Jan 06 09:48:27 2013 +0530
+++ b/mcabber/mcabber/screen.h	Sun Apr 28 10:29:02 2013 +0200
@@ -64,7 +64,8 @@
   int value;
   int utf8;
   enum {
-    MKEY_META = 1,
+    MKEY_NONE = 0,
+    MKEY_META,
     MKEY_EQUIV,
     MKEY_CTRL_PGUP,
     MKEY_CTRL_PGDOWN,