aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/mke2fs.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-04-16 00:05:44 -0500
committerRob Landley <rob@landley.net>2020-04-16 00:05:44 -0500
commitd14d54859d5fa3716c96c86d1a1e8a1bacb1dbd8 (patch)
tree4cee19b8be80339a958de746da4db2fb85f4f290 /toys/pending/mke2fs.c
parente605a828b84aebc5506c63508ccacdc904bab5ec (diff)
downloadtoybox-d14d54859d5fa3716c96c86d1a1e8a1bacb1dbd8.tar.gz
Weed-whack a few warnings out of pending so allyesconfig is less noisy.
Diffstat (limited to 'toys/pending/mke2fs.c')
-rw-r--r--toys/pending/mke2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/mke2fs.c b/toys/pending/mke2fs.c
index 19ef5fb0..ee0a5b11 100644
--- a/toys/pending/mke2fs.c
+++ b/toys/pending/mke2fs.c
@@ -546,7 +546,7 @@ void mke2fs_main(void)
{
int i, temp;
off_t length;
- uint32_t usedblocks, usedinodes, dtiblk, dtbblk;
+ uint32_t usedblocks, usedinodes, dtbblk;
struct dirtree *dti, *dtb;
struct ext2_superblock sb;
@@ -634,7 +634,7 @@ void mke2fs_main(void)
put_zeroes(1024);
// Loop through block groups, write out each one.
- dtiblk = dtbblk = usedblocks = usedinodes = 0;
+ dtbblk = usedblocks = usedinodes = 0;
for (i=0; i<TT.groups; i++) {
struct ext2_inode *in = (struct ext2_inode *)toybuf;
uint32_t start, itable, used, end;