Static analysis warning fixes

This commit is contained in:
Charles J. Cliffe
2015-05-30 00:09:51 -04:00
parent 24179afd28
commit 076d8a6847
9 changed files with 16 additions and 48 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ RtAudio :: RtAudio( RtAudio::Api api )
getCompiledApi( apis );
for ( unsigned int i=0; i<apis.size(); i++ ) {
openRtApi( apis[i] );
if ( rtapi_->getDeviceCount() ) break;
if ( rtapi_ && rtapi_->getDeviceCount() ) break;
}
if ( rtapi_ ) return;