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 );
|
||||
}
|
||||
|
||||
Color *drawColor = &lowColor;
|
||||
//Color *drawColor = &lowColor;
|
||||
|
||||
//Color *drawColorA = &lowColor;//&toneLowColor;
|
||||
//Color *drawColorB = &medColor;//&toneHighColor;
|
||||
|
@ -269,12 +269,12 @@ Image *Music::getImage() {
|
|||
|
||||
|
||||
for( int y=0; y<N; y++ ) {
|
||||
if( y>4 ) {
|
||||
drawColor = &medColor;
|
||||
}
|
||||
if( y>9 ) {
|
||||
drawColor = &hiColor;
|
||||
}
|
||||
//if( y>4 ) {
|
||||
// drawColor = &medColor;
|
||||
// }
|
||||
//if( y>9 ) {
|
||||
// drawColor = &hiColor;
|
||||
// }
|
||||
|
||||
Color *levelColor = Color::linearSum( &drawColorB, &drawColorA,
|
||||
y / (float)N );
|
||||
|
|
|
@ -52,7 +52,7 @@ static File *getCacheFile( uniqueID inID, char inUseTrans ) {
|
|||
transFlag = 1;
|
||||
}
|
||||
|
||||
char *name = autoSprintf( "%s_%d", idString, inUseTrans );
|
||||
char *name = autoSprintf( "%s_%d", idString, transFlag );
|
||||
|
||||
delete [] idString;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user