diff options
author | 2016-06-16 14:16:28 +0200 | |
---|---|---|
committer | 2016-06-16 14:21:44 +0200 | |
commit | 7099d6eaa22b8958f133b4f9eec6a8705a30b2d8 (patch) | |
tree | 476d5293b8a59637cfd0c8fcade96f483b59f548 /src/lib/formats/thom_dsk.cpp | |
parent | 8c87ea208c9cfcf33cf3fd71bb71b5a812819120 (diff) |
gcc 6.1.1 warning fixes (nw)
Diffstat (limited to 'src/lib/formats/thom_dsk.cpp')
-rw-r--r-- | src/lib/formats/thom_dsk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/thom_dsk.cpp b/src/lib/formats/thom_dsk.cpp index da7187d65f8..2e126b696e7 100644 --- a/src/lib/formats/thom_dsk.cpp +++ b/src/lib/formats/thom_dsk.cpp @@ -93,9 +93,9 @@ static floperr_t get_offset(floppy_image_legacy *floppy, int head, int track, in || (sector < 0) || (sector >= 16)) return FLOPPY_ERROR_SEEKERROR; - offs = tag->sector_pos[track][sector]; - if (offs <= 0 ) - return FLOPPY_ERROR_SEEKERROR; + offs = tag->sector_pos[track][sector]; + if (offs <= 0 ) + return FLOPPY_ERROR_SEEKERROR; if (offset) *offset = offs; |