[gnome-shell] st-scroll-view: Fix build with -Werror=maybe-uninitialized



commit 52536e94e571add524b846452ff8966b70bc8a03
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Thu Dec 20 22:59:49 2012 +0100

    st-scroll-view: Fix build with -Werror=maybe-uninitialized

 src/st/st-scroll-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c
index 285ba2d..e8ba3df 100644
--- a/src/st/st-scroll-view.c
+++ b/src/st/st-scroll-view.c
@@ -682,6 +682,7 @@ adjust_with_direction (StAdjustment           *adj,
       delta = 1.0;
       break;
     case CLUTTER_SCROLL_SMOOTH:
+    default:
       g_assert_not_reached ();
       break;
     }



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