Ignore me. I am silly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12599 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2007-03-04 19:30:03 +00:00
parent 55e1b531db
commit 416218660a

View file

@ -92,7 +92,6 @@ static const char tagcache_thread_name[] = "tagcache";
#endif #endif
#define UNTAGGED "<Untagged>" #define UNTAGGED "<Untagged>"
#define SIZEOF_UNTAGGED 11 /* Including \0 */
/* Previous path when scanning directory tree recursively. */ /* Previous path when scanning directory tree recursively. */
static char curpath[TAG_MAXLEN+32]; static char curpath[TAG_MAXLEN+32];
@ -1525,7 +1524,7 @@ static int check_if_empty(char **tag)
if (*tag == NULL || *tag[0] == '\0') if (*tag == NULL || *tag[0] == '\0')
{ {
*tag = UNTAGGED; *tag = UNTAGGED;
return SIZEOF_UNTAGGED; /* Tag length */ return sizeof(UNTAGGED); /* Tag length */
} }
length = strlen(*tag); length = strlen(*tag);