aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-12 16:26:44 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-12 16:26:44 +0100
commitd153943f3c85c211acf650259279b59ba0d48097 (patch)
tree01c05254c805d4722044393ebd4421885dc2eb77
parent9e28a93307f0ddbe81e0b881722550005ec94f02 (diff)
downloadcsync-d153943f3c85c211acf650259279b59ba0d48097.tar.gz
csync-d153943f3c85c211acf650259279b59ba0d48097.tar.xz
csync-d153943f3c85c211acf650259279b59ba0d48097.zip
vio: Fix a build warning if we build without testing
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/vio/csync_vio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vio/csync_vio.c b/src/vio/csync_vio.c
index ec0a7d3..e1eec95 100644
--- a/src/vio/csync_vio.c
+++ b/src/vio/csync_vio.c
@@ -47,8 +47,8 @@
#include "csync_log.h"
int csync_vio_init(CSYNC *ctx, const char *module, const char *args) {
- csync_stat_t sb;
#ifdef WITH_UNIT_TESTING
+ csync_stat_t sb;
mbchar_t *mpath = NULL;
#endif
char *path = NULL;