summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-08-23 12:04:46 +0200
committer hap <happppp@users.noreply.github.com>2022-08-23 12:04:58 +0200
commit8d8785d7bf654f4bafb31260a02aaf7108c36de9 (patch)
tree3bdf57e89a640cf3ffce6bca2482a47f3bdcf883 /src/lib/formats
parent3de37de3588bb0505c6c8b373e9ae09adc604e5d (diff)
misc: remove unused variables that may give compiler warning
Diffstat (limited to 'src/lib/formats')
-rw-r--r--src/lib/formats/dsk_dsk.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/formats/dsk_dsk.cpp b/src/lib/formats/dsk_dsk.cpp
index 9c14f781ef5..53f64eb4827 100644
--- a/src/lib/formats/dsk_dsk.cpp
+++ b/src/lib/formats/dsk_dsk.cpp
@@ -420,7 +420,6 @@ bool dsk_format::load(util::random_read &io, uint32_t form_factor, const std::ve
}
}
- int counter = 0;
for(int track=0; track < tracks; track++) {
for(int side=0; side < std::min(heads, img_heads); side++) {
if(track_offsets[(track<<1)+side] >= image_size)
@@ -491,7 +490,6 @@ bool dsk_format::load(util::random_read &io, uint32_t form_factor, const std::ve
}
// larger cell count (was 100000) to allow for slightly out of spec images (theatre europe on einstein)
build_pc_track_mfm(track, side, image, 105000, tr.number_of_sector, sects, tr.gap3_length);
- counter++;
}
}
return true;