comparison data/fileio/AudioFileSizeEstimator.cpp @ 1582:70e172e6cc59 fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:33:41 +0000
parents aadfb395e933
children ce185d4dd408
comparison
equal deleted inserted replaced
1581:ad5f892c0c4d 1582:70e172e6cc59
49 SVDEBUG << "AudioFileSizeEstimator: WAV file reader doesn't like this file, " 49 SVDEBUG << "AudioFileSizeEstimator: WAV file reader doesn't like this file, "
50 << "estimating from file size and extension instead" << endl; 50 << "estimating from file size and extension instead" << endl;
51 } 51 }
52 52
53 delete reader; 53 delete reader;
54 reader = 0; 54 reader = nullptr;
55 55
56 if (estimate == 0) { 56 if (estimate == 0) {
57 57
58 // The remainder just makes an estimate based on the file size 58 // The remainder just makes an estimate based on the file size
59 // and extension. We don't even know its sample rate at this 59 // and extension. We don't even know its sample rate at this