mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-24 20:58:37 -05:00
remove null pointer checks...
This commit is contained in:
parent
d530edec71
commit
538092d9a0
@ -56,9 +56,7 @@ void WaterfallPanel::step() {
|
||||
int half_fft_size = fft_size / 2;
|
||||
|
||||
if (!bufferInitialized.load()) {
|
||||
if (waterfall_slice != NULL) {
|
||||
delete waterfall_slice;
|
||||
}
|
||||
delete waterfall_slice;
|
||||
waterfall_slice = new unsigned char[half_fft_size];
|
||||
bufferInitialized.store(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user