diff --git a/src/File.cpp b/src/File.cpp index 9ad7706931a80ef72bd49848cbe337df0a53ab29..5b4799257303b406c683f771998abd72f34030ca 100644 --- a/src/File.cpp +++ b/src/File.cpp @@ -344,6 +344,8 @@ std::string File::index( Indexes index, uint32_t dbModel ) std::string File::indexName( File::Indexes index, uint32_t dbModel ) { + UNUSED_IN_RELEASE( dbModel ); + switch ( index ) { case Indexes::MediaId: @@ -357,7 +359,7 @@ std::string File::indexName( File::Indexes index, uint32_t dbModel ) return ""; } -bool File::checkDbModel(MediaLibraryPtr ml) +bool File::checkDbModel( MediaLibraryPtr ml ) { OPEN_READ_CONTEXT( ctx, ml->getConn() ); diff --git a/src/Label.cpp b/src/Label.cpp index 221341f4cb75a45187c58dcbe546f9c5e9185117..c7b4bf1a0f2dcf6da0f00d425d031379616aa448 100644 --- a/src/Label.cpp +++ b/src/Label.cpp @@ -124,7 +124,7 @@ std::string Label::triggerName( Triggers trigger, uint32_t ) return "delete_label_fts"; } -std::string Label::index(Label::Indexes index, uint32_t dbModel) +std::string Label::index( Label::Indexes index, uint32_t dbModel ) { switch ( index ) { @@ -136,8 +136,9 @@ std::string Label::index(Label::Indexes index, uint32_t dbModel) return ""; } -std::string Label::indexName(Label::Indexes index, uint32_t dbModel) +std::string Label::indexName( Label::Indexes index, uint32_t dbModel ) { + UNUSED_IN_RELEASE( dbModel ); switch ( index ) { case Indexes::MediaId: