[Pkg-owncloud-commits] [owncloud-client] 56/332: csync: fix warnings
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Aug 14 21:06:37 UTC 2014
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 6dd248e527f205872df465aabc3d014d08f87708
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Jun 5 15:48:53 2014 +0200
csync: fix warnings
warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
---
csync/src/csync_owncloud.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/csync/src/csync_owncloud.c b/csync/src/csync_owncloud.c
index 31e6576..29e0b21 100644
--- a/csync/src/csync_owncloud.c
+++ b/csync/src/csync_owncloud.c
@@ -728,18 +728,15 @@ csync_vio_handle_t *owncloud_opendir(CSYNC *ctx, const char *uri) {
}
int owncloud_closedir(CSYNC *ctx, csync_vio_handle_t *dhandle) {
- (void)ctx;
-
struct listdir_context *fetchCtx = dhandle;
-
free_fetchCtx(fetchCtx);
-
+ (void)ctx;
return 0;
}
csync_vio_file_stat_t *owncloud_readdir(CSYNC *ctx, csync_vio_handle_t *dhandle) {
- (void)ctx;
struct listdir_context *fetchCtx = dhandle;
+ (void)ctx;
// DEBUG_WEBDAV("owncloud_readdir" );
// DEBUG_WEBDAV("owncloud_readdir %s ", fetchCtx->target);
--
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