summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index b6d15e7a1f..436d85812b 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -137,7 +137,7 @@ static int tempbuf_handle;
137 (1LU << tag_virt_canonicalartist)) 137 (1LU << tag_virt_canonicalartist))
138 138
139/* String presentation of the tags defined in tagcache.h. Must be in correct order! */ 139/* String presentation of the tags defined in tagcache.h. Must be in correct order! */
140static const char *tags_str[] = { "artist", "album", "genre", "title", 140static const char * const tags_str[] = { "artist", "album", "genre", "title",
141 "filename", "composer", "comment", "albumartist", "grouping", "year", 141 "filename", "composer", "comment", "albumartist", "grouping", "year",
142 "discnumber", "tracknumber", "canonicalartist", "bitrate", "length", 142 "discnumber", "tracknumber", "canonicalartist", "bitrate", "length",
143 "playcount", "rating", "playtime", "lastplayed", "commitid", "mtime", 143 "playcount", "rating", "playtime", "lastplayed", "commitid", "mtime",
@@ -151,7 +151,7 @@ static const char *tags_str[] = { "artist", "album", "genre", "title",
151 "tag_virt_entryage", "tag_virt_autoscore" 151 "tag_virt_entryage", "tag_virt_autoscore"
152}; 152};
153/* more debug strings */ 153/* more debug strings */
154static const char *tag_type_str[] = { 154static const char * const tag_type_str[] = {
155 [clause_none] = "clause_none", [clause_is] = "clause_is", 155 [clause_none] = "clause_none", [clause_is] = "clause_is",
156 [clause_is_not] = "clause_is_not", [clause_gt] = "clause_gt", 156 [clause_is_not] = "clause_is_not", [clause_gt] = "clause_gt",
157 [clause_gteq] = "clause_gteq", [clause_lt] = "clause_lt", 157 [clause_gteq] = "clause_gteq", [clause_lt] = "clause_lt",