From 63177bf882d3b28f184876fc8b2d8f05046abcd0 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Mon, 18 Jun 2012 10:34:24 +0200 Subject: [PATCH] Fix warnings shown with -Wall --- gst-sdk/tutorials/playback-tutorial-1.c | 2 ++ gst-sdk/tutorials/playback-tutorial-2.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gst-sdk/tutorials/playback-tutorial-1.c b/gst-sdk/tutorials/playback-tutorial-1.c index 196edad..e457de6 100644 --- a/gst-sdk/tutorials/playback-tutorial-1.c +++ b/gst-sdk/tutorials/playback-tutorial-1.c @@ -193,6 +193,8 @@ static gboolean handle_message (GstBus *bus, GstMessage *msg, CustomData *data) } } } break; + default: + break; } /* We want to keep receiving messages */ diff --git a/gst-sdk/tutorials/playback-tutorial-2.c b/gst-sdk/tutorials/playback-tutorial-2.c index 8e5ee15..bd11fbb 100644 --- a/gst-sdk/tutorials/playback-tutorial-2.c +++ b/gst-sdk/tutorials/playback-tutorial-2.c @@ -195,6 +195,8 @@ static gboolean handle_message (GstBus *bus, GstMessage *msg, CustomData *data) } } } break; + default: + break; } /* We want to keep receiving messages */ -- 2.7.4