]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
Fix coverity issue 2.
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 15 Feb 2023 17:39:17 +0000 (18:39 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 15 Feb 2023 17:39:17 +0000 (18:39 +0100)
Delete identical branch

filter/foomatic-rip/options.c

index ae5bac2ed7bf85715f3faee72ede198163da8f58..41bd9c6e04aace62763b507f556fe3828dae5d5b 100644 (file)
@@ -1255,8 +1255,6 @@ option_has_choice(option_t *opt,
 const char *
 option_text(option_t *opt)
 {
-  if (isempty(opt->text))
-    return (opt->text);
   return (opt->text);
 }