summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2015-08-08 14:56:20 +1000
committerDamien Zammit <damien@zamaudio.com>2015-08-08 14:56:20 +1000
commitf9d3aa8db5815b9747d95373083544870ee4c648 (patch)
tree9ebd25edee73d775daf2bb840cdd84ffd7ba8244
parentfca326f1368d44e0bc63aa2b79c7babf35509260 (diff)
Cleanup compiler warnings
Signed-off-by: Damien Zammit <damien@zamaudio.com>
-rw-r--r--ptfformat.cc9
1 files 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,