You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2015/07/31 23:25:01 UTC

[2/2] thrift git commit: THRIFT-3283 c_glib: Tutorial server always exits with warning Client: c_glib Patch: Simon South

THRIFT-3283 c_glib: Tutorial server always exits with warning
Client: c_glib
Patch: Simon South <ss...@simonsouth.com>

This closes #574


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/c76a9ecd
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/c76a9ecd
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/c76a9ecd

Branch: refs/heads/master
Commit: c76a9ecdd29ee7c542b276c975c2731687900224
Parents: a2e0c50
Author: Jens Geyer <je...@apache.org>
Authored: Fri Jul 31 21:33:33 2015 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Fri Jul 31 23:23:48 2015 +0200

----------------------------------------------------------------------
 tutorial/c_glib/c_glib_server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/c76a9ecd/tutorial/c_glib/c_glib_server.c
----------------------------------------------------------------------
diff --git a/tutorial/c_glib/c_glib_server.c b/tutorial/c_glib/c_glib_server.c
index 1b7f6c4..47bf47f 100644
--- a/tutorial/c_glib/c_glib_server.c
+++ b/tutorial/c_glib/c_glib_server.c
@@ -440,7 +440,7 @@ int main (void)
 
   struct sigaction sigint_action;
 
-  GError *error;
+  GError *error = NULL;
   int exit_status = 0;
 
 #if (!GLIB_CHECK_VERSION (2, 36, 0))