diff options
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 120b8fd918..7e614aa882 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -92,7 +92,6 @@ static const char tagcache_thread_name[] = "tagcache"; | |||
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | #define UNTAGGED "<Untagged>" | 94 | #define UNTAGGED "<Untagged>" |
95 | #define SIZEOF_UNTAGGED 11 /* Including \0 */ | ||
96 | 95 | ||
97 | /* Previous path when scanning directory tree recursively. */ | 96 | /* Previous path when scanning directory tree recursively. */ |
98 | static char curpath[TAG_MAXLEN+32]; | 97 | static char curpath[TAG_MAXLEN+32]; |
@@ -1525,7 +1524,7 @@ static int check_if_empty(char **tag) | |||
1525 | if (*tag == NULL || *tag[0] == '\0') | 1524 | if (*tag == NULL || *tag[0] == '\0') |
1526 | { | 1525 | { |
1527 | *tag = UNTAGGED; | 1526 | *tag = UNTAGGED; |
1528 | return SIZEOF_UNTAGGED; /* Tag length */ | 1527 | return sizeof(UNTAGGED); /* Tag length */ |
1529 | } | 1528 | } |
1530 | 1529 | ||
1531 | length = strlen(*tag); | 1530 | length = strlen(*tag); |