From f9d3aa8db5815b9747d95373083544870ee4c648 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 8 Aug 2015 14:56:20 +1000 Subject: Cleanup compiler warnings Signed-off-by: Damien Zammit --- ptfformat.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ptfformat.cc b/ptfformat.cc index dbe0539..bc412a4 100644 --- a/ptfformat.cc +++ b/ptfformat.cc @@ -139,8 +139,6 @@ PTFFormat::load(std::string path, int64_t targetsr) { return -1; } - i = 2; - fseek(fp, 0x0, SEEK_SET); switch (c0) { @@ -453,9 +451,6 @@ PTFFormat::parseaudio(void) { k++; } - j = 0; - l = 0; - // Find actual wav names bool first = true; uint16_t numberofwavs; @@ -616,6 +611,7 @@ PTFFormat::parserest89(void) { break; } j+=startbytes; + /* uint32_t something = 0; switch (somethingbytes) { case 4: @@ -630,6 +626,7 @@ PTFFormat::parserest89(void) { break; } j+=somethingbytes; + */ std::string filename = string(name) + extension; wav_t f = { filename, @@ -881,6 +878,7 @@ PTFFormat::parserest10(void) { break; } j+=startbytes; + /* uint32_t something = 0; switch (somethingbytes) { case 4: @@ -895,6 +893,7 @@ PTFFormat::parserest10(void) { break; } j+=somethingbytes; + */ std::string filename = string(name) + extension; wav_t f = { filename, -- cgit v1.2.3