[Pkg-owncloud-commits] [owncloud-client] 10/78: Fix compile with strict C flags
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Jun 24 16:29:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit db9ccb40a441466df9c4dbda34b8a738ff65dfc2
Author: Christian Kamm <mail at ckamm.de>
Date: Fri Mar 18 12:41:57 2016 +0100
Fix compile with strict C flags
---
csync/src/csync_exclude.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/csync/src/csync_exclude.c b/csync/src/csync_exclude.c
index 4964946..d13949a 100644
--- a/csync/src/csync_exclude.c
+++ b/csync/src/csync_exclude.c
@@ -56,7 +56,9 @@ static const char *csync_exclude_expand_escapes(const char * input)
size_t i_len = strlen(input) + 1;
char *out = c_malloc(i_len); // out can only be shorter
- for (size_t i = 0, o = 0; i < i_len; ++i) {
+ size_t i = 0;
+ size_t o = 0;
+ for (; i < i_len; ++i) {
if (input[i] == '\\') {
// at worst input[i+1] is \0
switch (input[i+1]) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list