summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2018-05-01 22:04:06 -0400
committer arbee <rb6502@users.noreply.github.com>2018-05-01 22:04:06 -0400
commit45977d9baa18dd73d96061cb9f7961539538873f (patch)
tree5cb42c8e377b20ecb317cbc054d7d36e96524549 /src/lib
parent4f10cca061766fc29297ea973bc8a2b2bf5d077a (diff)
More GCC 8 (nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/formats/hpi_dsk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/hpi_dsk.cpp b/src/lib/formats/hpi_dsk.cpp
index d89cb4fd6ca..8d23f151862 100644
--- a/src/lib/formats/hpi_dsk.cpp
+++ b/src/lib/formats/hpi_dsk.cpp
@@ -373,7 +373,7 @@ bool hpi_format::get_next_sector(const uint8_t *bitstream , int bitstream_size ,
}
}
// Then for DATA block
- int data_pos;
+ int data_pos = 0;
block = get_next_id_n_block(bitstream , bitstream_size , pos , data_pos);
if (block.size() == 0) {
return false;