diff --git a/src/bin/copy.c b/src/bin/copy.c index 2a561d41..150af2ca 100644 --- a/src/bin/copy.c +++ b/src/bin/copy.c @@ -579,8 +579,8 @@ static int resolve_dst(const char **dst, const struct infix_ds **ds, char **path static int copy(const char *src, const char *dst) { - char *srcpath = NULL, *dstpath = NULL; const struct infix_ds *srcds = NULL, *dstds = NULL; + char *srcpath = NULL, *dstpath = NULL; bool rmsrc = false; mode_t oldmask; int err = 1;