summaryrefslogtreecommitdiff
path: root/misc/mke2fs.c
diff options
context:
space:
mode:
authorAndreas Dilger <andreas.dilger@intel.com>2014-04-14 12:20:25 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-04-14 12:22:42 -0400
commitd8f401b13568389ac0f67af0c653f153b5f0bd09 (patch)
treef3e4a13b42a413bf65f7bc50ed484fb00a551c0e /misc/mke2fs.c
parentaa73432f71bdab01ef9519f929dad0e4e13c7622 (diff)
downloade2fsprogs-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.c3
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;