corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [56/63] [abbrv] incubator-corinthia git commit: Fix compile warning about missing type/init value
Date Tue, 30 Dec 2014 14:45:20 GMT
Fix compile warning about missing type/init value


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

Branch: refs/heads/stable
Commit: ddffbd44655945ba1045cc7bbb8f384fa6695f63
Parents: 145000d
Author: Peter Kelly <peter@uxproductivity.com>
Authored: Sun Dec 28 19:12:24 2014 +0700
Committer: Peter Kelly <peter@uxproductivity.com>
Committed: Sun Dec 28 19:12:24 2014 +0700

----------------------------------------------------------------------
 consumers/dftest/src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/ddffbd44/consumers/dftest/src/main.c
----------------------------------------------------------------------
diff --git a/consumers/dftest/src/main.c b/consumers/dftest/src/main.c
index c7e5418..4a030d0 100644
--- a/consumers/dftest/src/main.c
+++ b/consumers/dftest/src/main.c
@@ -353,7 +353,7 @@ int main(int argc, const char **argv)
         TestGroup *singleGroup[] = { NULL, NULL };
         int        i = 0;
 
-        for (i; allGroups[i] && strcmp(argv[2], allGroups[i]->name); i++) ;
+        for (int i = 0; allGroups[i] && strcmp(argv[2], allGroups[i]->name); i++)
;
         if (allGroups[i]) {
           singleGroup[0] = allGroups[i];
           utrun(singleGroup, 1, 0, NULL);


Mime
View raw message