From: Christos Zoulas Date: Wed, 22 Mar 2006 04:12:51 +0000 (+0000) Subject: Remove useless check found by Coverity; xmalloc never returns NULL. X-Git-Tag: am-utils-6_2a2~17 X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=276285fecda80f73c21b7c0f7a90b44fde3b3b52;p=am-utils-6.0.git Remove useless check found by Coverity; xmalloc never returns NULL. --- diff --git a/amd/am_ops.c b/amd/am_ops.c index ad2eaeb..6e8a7c0 100644 --- a/amd/am_ops.c +++ b/amd/am_ops.c @@ -346,7 +346,7 @@ merge_opts(const char *opts1, const char *opts2) } /* finally, append opts2 itself */ - if (newstr && newstr[0]) { + if (newstr[0]) { xstrlcat(newstr, ",", len); xstrlcat(newstr, opts2, len); } else {