]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After r232548, clang complains about the apparent '=-' operator (a
authorDimitry Andric <dim@FreeBSD.org>
Mon, 12 Mar 2012 11:15:44 +0000 (11:15 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Mon, 12 Mar 2012 11:15:44 +0000 (11:15 +0000)
commit8f061f61dbfc3ccf6a4aa041ddfebc25ab606063
tree74e42a961d15b24a0098f2e0fdb971a32e31616d
parentaddfbd03b78b07d9aaf3ba0dc53dd4c4fe9e334f
After r232548, clang complains about the apparent '=-' operator (a
left-over from ancient C times, and a frequent typo) in growfs.c:

sbin/growfs/growfs.c:1550:8: error: use of unary operator that may be intended as compound assignment (-=) [-Werror]
        blkno =- 1;
              ^~

Use 'blkno = -1' instead, to silence the error.
sbin/growfs/growfs.c