13
0

Warning fixes.

git-svn-id: svn://localhost/ardour2/trunk@1280 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-01-07 19:35:02 +00:00
parent 798bf13c41
commit 27e84e85f2
2 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ FFTGraph::setWindowSize_internal(int windowSize)
}
_logScale = (int *) malloc(sizeof(int) * _dataSize);
float count = 0;
//float count = 0;
for (int i = 0; i < _dataSize; i++) {
_logScale[i] = 0;
}
@ -389,7 +389,7 @@ FFTGraph::on_size_request(Gtk::Requisition* requisition)
pixel++;
freq_at_pixel = FFT_START * exp( FFT_RANGE * pixel / (double)scaleWidth );
}
_logScale[i] = floor(pixel);
_logScale[i] = (int)floor(pixel);
//printf("logscale at %d = %3.3f, freq_at_pixel %3.3f, freq_at_bin %3.3f, scaleWidth %d\n", i, pixel, freq_at_pixel, freq_at_bin, scaleWidth);
}

View File

@ -1562,7 +1562,7 @@ TranzportControlProtocol::button_event_record_release (bool shifted)
void button_event_mute (bool pressed, bool shifted)
{
static int was_pressed = 0;
//static int was_pressed = 0;
// if(pressed) { }
}