diff --git a/policycoreutils/setfiles/restore.c b/policycoreutils/setfiles/restore.c index 733a6072..9a7d315f 100644 --- a/policycoreutils/setfiles/restore.c +++ b/policycoreutils/setfiles/restore.c @@ -103,7 +103,7 @@ static int match(const char *name, struct stat *sb, char **con) static int restore(FTSENT *ftsent) { char *my_file = strdupa(ftsent->fts_path); - int ret; + int ret = -1; char *context, *newcon; int user_only_changed = 0;