summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobi6 <robi6@users.sourceforge.net>2014-09-03 22:34:25 +0200
committerrobi6 <robi6@users.sourceforge.net>2014-09-03 22:34:25 +0200
commit96b57e93251b935cec1bf4b44cde037be89f8f4f (patch)
treee75271a600f5eda2432d0bc1c4efa6b4f1c4492c
parentbb9f81725515893ebe7a252687520945eb8b1934 (diff)
correction compiler warning interface
-rw-r--r--src/ext4magic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ext4magic.c b/src/ext4magic.c
index 27328d0..6515bb0 100644
--- a/src/ext4magic.c
+++ b/src/ext4magic.c
@@ -57,7 +57,7 @@ extern char *optarg;
#include "block.h"
-extern char* magicfile;
+char* magicfile = NULL;
ext2_filsys current_fs = NULL;
ext2_ino_t root, cwd;
ext2fs_inode_bitmap imap = NULL ;
@@ -361,7 +361,6 @@ int journal_backup = 0;
__u32 t_before = 0;
__u32 t_after = 0;
struct stat filestat;
-magicfile = NULL;
// Sanity checks on the user.