Move declaration of variable to beginning of block. Thanks to Alexei Alexandrov for the fix.

(Logical change 1.350)
edge.strict_endians
cantab.net!aia21 2004-03-30 14:00:35 +00:00
parent 3cef28ae30
commit 7e2b0aad08
1 changed files with 3 additions and 1 deletions

View File

@ -968,8 +968,10 @@ int mft_next_record (struct mft_search_ctx *ctx)
}
for (ctx->mft_num++; (s64)ctx->mft_num < ctx->vol->nr_mft_records; ctx->mft_num++) {
int in_use;
ctx->flags_match = 0;
int in_use = utils_mftrec_in_use (ctx->vol, (MFT_REF) ctx->mft_num);
in_use = utils_mftrec_in_use (ctx->vol, (MFT_REF) ctx->mft_num);
if (in_use == -1) {
Eprintf ("Error reading inode %llu. Aborting.",
(unsigned long long)ctx->mft_num);