dvr_db: coverity fixes

This commit is contained in:
Jaroslav Kysela 2014-10-03 21:25:01 +02:00
parent f7336d2bfb
commit f78bd7adcb

View file

@ -1444,7 +1444,7 @@ dvr_entry_class_disp_title_set(void *o, const void *v)
v = "UnknownTitle";
if (de->de_title)
s = lang_str_get(de->de_title, NULL);
if (strcmp(s, v ?: "")) {
if (strcmp(s, v)) {
lang_str_destroy(de->de_title);
de->de_title = lang_str_create();
if (v)