]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debugfs.c (do_open_filesys): Fix obvious uninitialized variable
authorTheodore Ts'o <tytso@mit.edu>
Mon, 29 Nov 2004 22:35:58 +0000 (17:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Nov 2004 22:35:58 +0000 (17:35 -0500)
buglet.

debugfs/ChangeLog
debugfs/debugfs.c

index 315a4f0d139971110a1b41fb57758d89b0fdae51..3362bfd5d2c67c73573ed4a03c942699f8ee90fc 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-29  Theodore Ts'o  <tytso@mit.edu>
+
+       * debugfs.c (do_open_filesys): Fix obvious uninitialized variable
+               buglet.
+
 2004-11-19  Theodore Ts'o  <tytso@mit.edu>
 
        * debugfs.c (kill_file_by_inode): Only iterate over the inode to
index dab49d4809fa894e2150e1bd0bcb6a234e6dcd7e..e4a8b8faf36f8d28ba7985174e8485f27b0f6ddf 100644 (file)
@@ -124,7 +124,7 @@ void do_open_filesys(int argc, char **argv)
        blk_t   superblock = 0;
        blk_t   blocksize = 0;
        int     open_flags = 0;
-       char    *data_filename;
+       char    *data_filename = 0;
        
        reset_getopt();
        while ((c = getopt (argc, argv, "iwfcb:s:d:")) != EOF) {