mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
reconcile: Fix return value.
This commit is contained in:
parent
4e5b29257e
commit
6dca82a4a1
1 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@ static int _csync_merge_algorithm_visitor(void *obj, void *data) {
|
|||
}
|
||||
|
||||
int csync_reconcile_updates(CSYNC *ctx) {
|
||||
int rc = -1;
|
||||
int rc;
|
||||
c_rbtree_t *tree = NULL;
|
||||
|
||||
switch (ctx->current) {
|
||||
|
@ -293,7 +293,7 @@ int csync_reconcile_updates(CSYNC *ctx) {
|
|||
|
||||
rc = c_rbtree_walk(tree, (void *) ctx, _csync_merge_algorithm_visitor);
|
||||
|
||||
return 0;
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* vim: set ts=8 sw=2 et cindent: */
|
||||
|
|
Loading…
Reference in a new issue