Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2015 16:09:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201284] sys/fs/tmpfs/tmpfs_subr.c: 2 * bad if statements ?
Message-ID:  <bug-201284-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201284

            Bug ID: 201284
           Summary: sys/fs/tmpfs/tmpfs_subr.c: 2 * bad if statements ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

1.

sys/fs/tmpfs/tmpfs_subr.c:1691]: (style) Same expression on both sides of '&&'.

  if (vap->va_birthtime.tv_nsec != VNOVAL &&
        vap->va_birthtime.tv_nsec != VNOVAL)

Looking at nearby code, maybe

  if (vap->va_birthtime.tv_sec != VNOVAL &&
        vap->va_birthtime.tv_nsec != VNOVAL)

2.

sys/fs/tmpfs/tmpfs_subr.c:1697]: (style) Same expression on both sides of '&&'.

Same thing a few lines further down.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201284-8>