Fix some coverity issues, next try...
This commit is contained in:
@@ -362,7 +362,7 @@ Glib::ustring TagDirectory::getDumpKey (int tagID, const Glib::ustring &tagName)
|
|||||||
|
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
void TagDirectory::addTag (Tag* tag)
|
void TagDirectory::addTag (Tag* &tag)
|
||||||
{
|
{
|
||||||
|
|
||||||
// look up if it already exists:
|
// 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:
|
// look up if it already exists:
|
||||||
|
@@ -156,8 +156,8 @@ public:
|
|||||||
bool getXMPTagValue (const char* name, char* value) const;
|
bool getXMPTagValue (const char* name, char* value) const;
|
||||||
|
|
||||||
void keepTag (int ID);
|
void keepTag (int ID);
|
||||||
void addTag (Tag* a);
|
void addTag (Tag* &a);
|
||||||
void addTagFront (Tag* a);
|
void addTagFront (Tag* &a);
|
||||||
void replaceTag (Tag* a);
|
void replaceTag (Tag* a);
|
||||||
inline Tag* getTagByIndex (int ix)
|
inline Tag* getTagByIndex (int ix)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user