oops, forgot to remove some DEBUG statments
git-svn-id: https://svn.musicpd.org/mpd/trunk@2673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		
							
								
								
									
										2
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								TODO
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| 0.12 | 0.12 | ||||||
| ---- | ---- | ||||||
| *) cleanup list code and sorting | *) rewrite linked list code! | ||||||
|  |  | ||||||
| *) parsing of lame tags (including getting replaygain info) | *) parsing of lame tags (including getting replaygain info) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -32,11 +32,9 @@ char * getTagItemString(int type, char * string) { | |||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if(findNodeInList(tagLists[type], string, &node)) { | 	if(findNodeInList(tagLists[type], string, &node)) { | ||||||
| 		DEBUG("found\n"); |  | ||||||
| 		((TagTrackerItem *)node->data)->count++; | 		((TagTrackerItem *)node->data)->count++; | ||||||
| 	} | 	} | ||||||
| 	else { | 	else { | ||||||
| 		DEBUG("not found\n"); |  | ||||||
| 		TagTrackerItem * item = malloc(sizeof(TagTrackerItem)); | 		TagTrackerItem * item = malloc(sizeof(TagTrackerItem)); | ||||||
| 		item->count = 1; | 		item->count = 1; | ||||||
| 		item->visited = 0; | 		item->visited = 0; | ||||||
| @@ -44,7 +42,6 @@ char * getTagItemString(int type, char * string) { | |||||||
| 				item); | 				item); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	DEBUG("key: %s:%s\n", string, node->key); |  | ||||||
| 	return node->key; | 	return node->key; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Warren Dukes
					Warren Dukes