aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tagTracker.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tagTracker.c b/src/tagTracker.c
index 0966d858d..68124c9e2 100644
--- a/src/tagTracker.c
+++ b/src/tagTracker.c
@@ -24,7 +24,7 @@ typedef struct tagTrackerItem {
char * getTagItemString(int type, char * string) {
ListNode * node;
- if(type == TAG_ITEM_TITLE) return strdup(string);
+ /*if(type == TAG_ITEM_TITLE) return strdup(string);*/
if(tagLists[type] == NULL) {
tagLists[type] = makeList(free, 1);
@@ -48,16 +48,16 @@ void removeTagItemString(int type, char * string) {
assert(string);
- /*assert(tagLists[type]);*/
+ assert(tagLists[type]);
if(tagLists[type] == NULL) return;
node = findNodeInList(tagLists[type], string);
- /*assert(node);*/
+ assert(node);
- if(!node) {
+ /*if(!node) {
free(string);
return;
- }
+ }*/
if(node) {
TagTrackerItem * item = node->data;