diff options
author | Andreas Dilger <andreas.dilger@intel.com> | 2014-04-14 12:20:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-04-14 12:22:42 -0400 |
commit | d8f401b13568389ac0f67af0c653f153b5f0bd09 (patch) | |
tree | f3e4a13b42a413bf65f7bc50ed484fb00a551c0e /misc/mke2fs.c | |
parent | aa73432f71bdab01ef9519f929dad0e4e13c7622 (diff) | |
download | e2fsprogs-d8f401b13568389ac0f67af0c653f153b5f0bd09.tar.gz |
fix miscellaneous build warnings
Fix various unused variable and use-uninitialized warnings.
Add generated files into .gitignore.
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/mke2fs.c')
-rw-r--r-- | misc/mke2fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c index abc8bd07..176dc401 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -115,7 +115,6 @@ char **fs_types; static profile_t profile; static int sys_page_size = 4096; -static int linux_version_code = 0; static void usage(void) { @@ -2489,7 +2488,7 @@ int main (int argc, char *argv[]) errcode_t retval = 0; ext2_filsys fs; badblocks_list bb_list = 0; - unsigned int journal_blocks; + unsigned int journal_blocks = 0; unsigned int i, checkinterval; int max_mnt_count; int val, hash_alg; |