]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[iscsictl] Fix compile issues that creep up with gcc-6.4
authoradrian <adrian@FreeBSD.org>
Sun, 1 Nov 2020 15:57:14 +0000 (15:57 +0000)
committeradrian <adrian@FreeBSD.org>
Sun, 1 Nov 2020 15:57:14 +0000 (15:57 +0000)
commit2a7996c7f3867be848ba431c6e044d42f4700c23
treed906518be96230cb6ba0a019021a7a32c7ec5c6a
parent8faaaf33250ce419067be3e8f28ea0e215b22411
[iscsictl] Fix compile issues that creep up with gcc-6.4

This fixes two warnings:

* double-definition of a symbol in a yacc header
* Comparison of an unsigned int being >= 0; that's always
  going to be true.

Reviewed by: imp, rscheff
Differential Revision: https://reviews.freebsd.org/D27036
usr.bin/iscsictl/parse.y