From: Flole998 Date: Fri, 8 Apr 2022 04:18:55 +0000 (+0200) Subject: Remove useless null-check on an array X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04998bd54be27e76062b424eb4bab7419f9ff4d2;p=thirdparty%2Ftvheadend.git Remove useless null-check on an array --- diff --git a/src/epg.c b/src/epg.c index 3ce4e1e3b..ade8d6856 100644 --- a/src/epg.c +++ b/src/epg.c @@ -1107,7 +1107,7 @@ static int _epg_broadcast_set_set if (*set == NULL) { if (uri == NULL || uri[0] == '\0') return 0; - } else if (strcmp((*set)->uri ?: "", uri ?: "")) { + } else if (strcmp((*set)->uri, uri ?: "")) { epg_set_broadcast_remove(tree, *set, ebc); } else { return 0;