From 192f232d3ff648cce4d79e6cdfcdbfb2ec31c9f0 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 5 Aug 2017 11:53:29 -0400 Subject: [PATCH] Silenced warnings. --- Storage/Disk/Formats/CPCDSK.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Storage/Disk/Formats/CPCDSK.cpp b/Storage/Disk/Formats/CPCDSK.cpp index 92b024a84..2e185dda6 100644 --- a/Storage/Disk/Formats/CPCDSK.cpp +++ b/Storage/Disk/Formats/CPCDSK.cpp @@ -71,8 +71,8 @@ std::shared_ptr CPCDSK::get_uncached_track_at_position(unsigned int head, // Grab the track information. fseek(file_, 5, SEEK_CUR); // skip track number, side number, sector size — each is given per sector int number_of_sectors = fgetc(file_); - uint8_t gap3_length = (uint8_t)fgetc(file_); - uint8_t filler_byte = (uint8_t)fgetc(file_); + __unused uint8_t gap3_length = (uint8_t)fgetc(file_); + __unused uint8_t filler_byte = (uint8_t)fgetc(file_); // Grab the sector information struct SectorInfo {