get rid of a gcc warning
git-svn-id: https://svn.musicpd.org/mpd/trunk@2682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
d5a9925d1f
commit
469a5824b8
|
@ -129,23 +129,23 @@ void resetVisitedFlagsInTagTracker(int type) {
|
|||
}
|
||||
|
||||
int wasVisitedInTagTracker(int type, char * str) {
|
||||
TagTrackerItem * item;
|
||||
void * item;
|
||||
|
||||
if(!tagLists[type]) return 0;
|
||||
|
||||
if(!findInList(tagLists[type], str, &item)) return 0;
|
||||
|
||||
return item->visited;
|
||||
return ((TagTrackerItem *)item)->visited;
|
||||
}
|
||||
|
||||
void visitInTagTracker(int type, char * str) {
|
||||
TagTrackerItem * item;
|
||||
void * item;
|
||||
|
||||
if(!tagLists[type]) return;
|
||||
|
||||
if(!findInList(tagLists[type], str, &item)) return;
|
||||
|
||||
item->visited = 1;
|
||||
((TagTrackerItem *)item)->visited = 1;
|
||||
}
|
||||
|
||||
void printVisitedInTagTracker(FILE * fp, int type) {
|
||||
|
|
Loading…
Reference in New Issue