Fix Clang warnings and build failure on OSX 10.12

Kudos to Partha over at pixls.us for finding and fixing!
This commit is contained in:
Flössie
2016-11-06 17:09:27 +01:00
parent 2bf87d5c5c
commit 495c0938f4
6 changed files with 19 additions and 11 deletions

View File

@@ -1851,7 +1851,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
}
if( totBP )
if( totBP ) {
if ( ri->getSensorType() == ST_BAYER ) {
interpolateBadPixelsBayer( *bitmapBads );
} else if ( ri->getSensorType() == ST_FUJI_XTRANS ) {
@@ -1859,6 +1859,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
} else {
interpolateBadPixelsNColours( *bitmapBads, ri->get_colors() );
}
}
if ( ri->getSensorType() == ST_BAYER && raw.bayersensor.linenoise > 0 ) {
if (plistener) {