sparse / gcc-2.95 / -pedantic fixes
Not everybody has access to the latest and greatest compilers. git-svn-id: https://svn.musicpd.org/mpd/trunk@4595 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -58,9 +58,9 @@ char *getTagItemString(int type, char *string)
|
||||
else
|
||||
{
|
||||
TagTrackerItem *item = malloc(sizeof(TagTrackerItem));
|
||||
char *key = strdup(string);
|
||||
item->count = 1;
|
||||
item->visited = 0;
|
||||
char * key= strdup(string);
|
||||
InsertInTree(tagTrees[type], key, item);
|
||||
return key;
|
||||
}
|
||||
|
Reference in New Issue
Block a user