[evolution-data-server] Fix a possible uninitialized variable use in	a Camel test
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution-data-server] Fix a possible uninitialized variable use in	a Camel test
- Date: Fri,  2 Dec 2016 09:04:32 +0000 (UTC)
commit fecc05e35bf24df54ffdd72ec073c0369fa9c80a
Author: Milan Crha <mcrha redhat com>
Date:   Fri Dec 2 10:03:46 2016 +0100
    Fix a possible uninitialized variable use in a Camel test
 src/camel/tests/mime-filter/test-crlf.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/tests/mime-filter/test-crlf.c b/src/camel/tests/mime-filter/test-crlf.c
index a61aa64..cff46dd 100644
--- a/src/camel/tests/mime-filter/test-crlf.c
+++ b/src/camel/tests/mime-filter/test-crlf.c
@@ -62,7 +62,8 @@ test_case (gint test_num)
                outfile = g_strdup_printf ("%s/crlf-%d.in", SOURCEDIR, 1);
                break;
        default:
-               break;
+               g_warn_if_reached ();
+               return;
        }
 
        camel_test_push ("Initializing objects");
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]