Coverity CID 2389: Remove extraneous check

This commit is contained in:
christos 2006-03-18 20:40:53 +00:00
parent 7908a85339
commit f3d47984b8
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: am_ops.c,v 1.7 2006/02/05 16:28:55 christos Exp $ */
/* $NetBSD: am_ops.c,v 1.8 2006/03/18 20:40:53 christos Exp $ */
/*
* Copyright (c) 1997-2005 Erez Zadok
@ -339,7 +339,7 @@ merge_opts(const char *opts1, const char *opts2)
if (amu_hasmntopt(&mnt2, oneopt) || amu_hasmntopt(&mnt2, revoneopt))
continue;
/* add option to returned string */
if (newstr && newstr[0]) {
if (newstr[0]) {
xstrlcat(newstr, ",", len);
xstrlcat(newstr, tmpstr, len);
} else {