Skip to content

Commit 2a42a10

Browse files
authored
Merge pull request #153 from jcorporation/master
Fix duplicate case for MPD_STICKER_SORT_UNKOWN and MPD_STICKER_OP_UNKOWN
2 parents 4b81b91 + e751c4a commit 2a42a10

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sticker.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ static const char *get_sticker_oper_str(enum mpd_sticker_operator oper) {
251251
case MPD_STICKER_OP_LT_INT: return "lt";
252252
case MPD_STICKER_OP_CONTAINS: return "contains";
253253
case MPD_STICKER_OP_STARTS_WITH: return "starts_with";
254-
case MPD_STICKER_OP_UNKOWN:
255254
case MPD_STICKER_OP_UNKNOWN: return NULL;
256255
}
257256
return NULL;
@@ -294,8 +293,7 @@ static const char *get_sticker_sort_name(enum mpd_sticker_sort sort) {
294293
case MPD_STICKER_SORT_URI: return "uri";
295294
case MPD_STICKER_SORT_VALUE: return "value";
296295
case MPD_STICKER_SORT_VALUE_INT: return "value_int";
297-
case MPD_STICKER_SORT_UNKOWN:
298-
case MPD_STICKER_SORT_UNKNOWN: return NULL;
296+
case MPD_STICKER_SORT_UNKNOWN: return NULL;
299297
}
300298
return NULL;
301299
}

0 commit comments

Comments
 (0)