[metacity] xprops: fix build warnings



commit 2a80c9de25033e8072b9d2d0c64ed50740783d32
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 20 18:51:30 2015 +0300

    xprops: fix build warnings

 src/core/xprops.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/core/xprops.c b/src/core/xprops.c
index 4ef8847..c935a35 100644
--- a/src/core/xprops.c
+++ b/src/core/xprops.c
@@ -1033,7 +1033,9 @@ meta_prop_get_values (MetaDisplay   *display,
               values[i].required_type = XA_WM_SIZE_HINTS;
               break;
             case META_PROP_VALUE_SYNC_COUNTER:
-             values[i].required_type = XA_CARDINAL;
+              values[i].required_type = XA_CARDINAL;
+              break;
+            default:
               break;
             }
         }
@@ -1188,6 +1190,8 @@ meta_prop_get_values (MetaDisplay   *display,
                                      &values[i].v.xcounter))
             values[i].type = META_PROP_VALUE_INVALID;
           break;
+        default:
+          break;
         }
 
     next:
@@ -1240,6 +1244,8 @@ free_value (MetaPropValue *value)
       break;
     case META_PROP_VALUE_SYNC_COUNTER:
       break;
+    default:
+      break;
     }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]