Fix some coverity issues, next try...

This commit is contained in:
heckflosse
2018-11-22 22:07:39 +01:00
parent 09b65bcc92
commit 944b901a65
2 changed files with 4 additions and 4 deletions

View File

@@ -362,7 +362,7 @@ Glib::ustring TagDirectory::getDumpKey (int tagID, const Glib::ustring &tagName)
return key;
}
void TagDirectory::addTag (Tag* tag)
void TagDirectory::addTag (Tag* &tag)
{
// look up if it already exists:
@@ -374,7 +374,7 @@ void TagDirectory::addTag (Tag* tag)
}
}
void TagDirectory::addTagFront (Tag* tag)
void TagDirectory::addTagFront (Tag* &tag)
{
// look up if it already exists: