From d68ac512e0ec8a7b96c4da99b97c0add11f7aa7b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 19 May 2008 11:16:51 +0200 Subject: [PATCH] Fix warning and initialize the replica values. --- src/csync_propagate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/csync_propagate.c b/src/csync_propagate.c index 5c757d9cd..53a9788c9 100644 --- a/src/csync_propagate.c +++ b/src/csync_propagate.c @@ -36,9 +36,9 @@ #include "csync_log.h" static int csync_push_file(CSYNC *ctx, csync_file_stat_t *st) { - enum csync_replica_e srep; - enum csync_replica_e drep; - enum csync_replica_e rep_bak; + enum csync_replica_e srep = -1; + enum csync_replica_e drep = -1; + enum csync_replica_e rep_bak = -1; char *suri = NULL; char *duri = NULL;