Fixed two unused variable warnings.
This commit is contained in:
parent
d9b1b11a42
commit
8270f84ff0
|
@ -260,7 +260,7 @@ Image *Music::getImage() {
|
||||||
channels[i] = image->getChannel( i );
|
channels[i] = image->getChannel( i );
|
||||||
}
|
}
|
||||||
|
|
||||||
Color *drawColor = &lowColor;
|
//Color *drawColor = &lowColor;
|
||||||
|
|
||||||
//Color *drawColorA = &lowColor;//&toneLowColor;
|
//Color *drawColorA = &lowColor;//&toneLowColor;
|
||||||
//Color *drawColorB = &medColor;//&toneHighColor;
|
//Color *drawColorB = &medColor;//&toneHighColor;
|
||||||
|
@ -269,12 +269,12 @@ Image *Music::getImage() {
|
||||||
|
|
||||||
|
|
||||||
for( int y=0; y<N; y++ ) {
|
for( int y=0; y<N; y++ ) {
|
||||||
if( y>4 ) {
|
//if( y>4 ) {
|
||||||
drawColor = &medColor;
|
// drawColor = &medColor;
|
||||||
}
|
// }
|
||||||
if( y>9 ) {
|
//if( y>9 ) {
|
||||||
drawColor = &hiColor;
|
// drawColor = &hiColor;
|
||||||
}
|
// }
|
||||||
|
|
||||||
Color *levelColor = Color::linearSum( &drawColorB, &drawColorA,
|
Color *levelColor = Color::linearSum( &drawColorB, &drawColorA,
|
||||||
y / (float)N );
|
y / (float)N );
|
||||||
|
|
|
@ -52,7 +52,7 @@ static File *getCacheFile( uniqueID inID, char inUseTrans ) {
|
||||||
transFlag = 1;
|
transFlag = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *name = autoSprintf( "%s_%d", idString, inUseTrans );
|
char *name = autoSprintf( "%s_%d", idString, transFlag );
|
||||||
|
|
||||||
delete [] idString;
|
delete [] idString;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user