projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994c6ff
)
dfp might be used uninitialized. NULL it.
author
Eric Andersen
<andersen@codepoet.org>
Tue, 21 Aug 2001 23:36:32 +0000
(23:36 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 21 Aug 2001 23:36:32 +0000
(23:36 -0000)
libbb/copy_file.c
patch
|
blob
|
history
diff --git
a/libbb/copy_file.c
b/libbb/copy_file.c
index c79fbeb14912fb8461ab0b1958896239c47846b1..9c1bba68994e9a172f63ddb55b94cd78f0aa1889 100644
(file)
--- a/
libbb/copy_file.c
+++ b/
libbb/copy_file.c
@@
-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) {