dfp might be used uninitialized. NULL it.

This commit is contained in:
Eric Andersen 2001-08-21 23:36:32 +00:00
parent 994c6ffd3b
commit 75220b55ff

View File

@ -131,7 +131,7 @@ int copy_file(const char *source, const char *dest, int flags)
status = -1;
}
} else if (S_ISREG(source_stat.st_mode)) {
FILE *sfp, *dfp;
FILE *sfp, *dfp=NULL;
if (dest_exists) {
if (flags & FILEUTILS_INTERACTIVE) {