]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(cp_option_init): Initialize new member.
authorJim Meyering <jim@meyering.net>
Thu, 22 Nov 2001 19:48:17 +0000 (19:48 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Nov 2001 19:48:17 +0000 (19:48 +0000)
src/install.c
src/mv.c

index 9605bd86b1636f85af2bfcfc698d6961cf6236bd..35c9d0b0d05930a65d3d10f99d008258f0bc4f9f 100644 (file)
@@ -174,6 +174,7 @@ cp_option_init (struct cp_options *x)
   x->verbose = 0;
   x->xstat = stat;
   x->dest_info = NULL;
+  x->src_info = NULL;
 }
 
 int
index 1266adbf5272b0c4b91700a261ad0a1a59ce98a4..5d1ebe1766721cde1145120b60c2475d3bdea191 100644 (file)
--- a/src/mv.c
+++ b/src/mv.c
@@ -149,6 +149,7 @@ cp_option_init (struct cp_options *x)
   x->verbose = 0;
   x->xstat = lstat;
   x->dest_info = NULL;
+  x->src_info = NULL;
 }
 
 /* If PATH is an existing directory, return nonzero, else 0.  */