[glib/wip/coverity-fixes: 3/6] tests: Add missing initializer for return value



commit 71148882513c90a23690a7f695f862c454005665
Author: Colin Walters <walters verbum org>
Date:   Thu Jun 21 12:06:34 2012 -0400

    tests: Add missing initializer for return value

 gio/tests/test-pipe-unix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/test-pipe-unix.c b/gio/tests/test-pipe-unix.c
index f4e07a4..07f6198 100644
--- a/gio/tests/test-pipe-unix.c
+++ b/gio/tests/test-pipe-unix.c
@@ -105,7 +105,7 @@ test_bidi_pipe (GIOStream **left,
   GOutputStream *left_out = NULL;
   GInputStream *right_in = NULL;
   GOutputStream *right_out = NULL;
-  gboolean ret;
+  gboolean ret = FALSE;
 
   if (!test_pipe (&left_in, &right_out, error))
     goto out;



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