qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [4/4] qpid-proton git commit: initialise values to keep (some) compilers happy
Date Wed, 07 Jan 2015 21:00:30 GMT
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 <gsim@redhat.com>
Authored: Wed Jan 7 21:00:49 2015 +0000
Committer: Gordon Sim <gsim@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


Mime
View raw message