bump version
[buildroot.git] / target / ext2 / genext2fs-1.4-remove_ugly_warnings.patch
blobef23dfbe8046611d6c31dd0a3482f8d16680e8f3
1 diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-remove_ugly_warnings/genext2fs.c
2 --- genext2fs-1.4/genext2fs.c 2007-02-09 10:54:56.000000000 +0100
3 +++ genext2fs-1.4-remove_ugly_warnings/genext2fs.c 2007-02-09 10:54:30.000000000 +0100
4 @@ -1606,7 +1606,7 @@
5 static void
6 add2fs_from_dir(filesystem *fs, uint32 this_nod, int squash_uids, int squash_perms, uint32 fs_timestamp, struct stats *stats)
8 - uint32 nod;
9 + uint32 nod = 0;
10 uint32 uid, gid, mode, ctime, mtime;
11 const char *name;
12 FILE *fh;
13 @@ -2056,7 +2056,7 @@
14 static filesystem *
15 load_fs(FILE * fh, int swapit)
17 - size_t fssize;
18 + size_t fssize = 0;
19 filesystem *fs;
20 if((fseek(fh, 0, SEEK_END) < 0) || ((ssize_t)(fssize = ftell(fh)) == -1))
21 perror_msg_and_die("input filesystem image");