You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2015/01/07 22:00:30 UTC

[4/4] qpid-proton git commit: initialise values to keep (some) compilers happy

initialise values to keep (some) compilers happy


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8c35ce40
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8c35ce40
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8c35ce40

Branch: refs/heads/master
Commit: 8c35ce407c73608171ab995cd4a4023fbe8f93f9
Parents: a210182
Author: Gordon Sim <gs...@redhat.com>
Authored: Wed Jan 7 21:00:49 2015 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Wed Jan 7 21:00:49 2015 +0000

----------------------------------------------------------------------
 proton-c/src/tests/object.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8c35ce40/proton-c/src/tests/object.c
----------------------------------------------------------------------
diff --git a/proton-c/src/tests/object.c b/proton-c/src/tests/object.c
index 2596bec..5a32f60 100644
--- a/proton-c/src/tests/object.c
+++ b/proton-c/src/tests/object.c
@@ -867,8 +867,8 @@ void test_heap(int seed, int size)
   srand(seed);
   pn_list_t *list = pn_list(PN_VOID, 0);
 
-  intptr_t min;
-  intptr_t max;
+  intptr_t min = 0;
+  intptr_t max = 0;
 
   for (int i = 0; i < size; i++) {
     intptr_t r = rand();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org