]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[iscsictl] Fix compile issues that creep up with gcc-6.4
authorAdrian Chadd <adrian@FreeBSD.org>
Sun, 1 Nov 2020 15:57:14 +0000 (15:57 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sun, 1 Nov 2020 15:57:14 +0000 (15:57 +0000)
commitc2a5b2abc736a140e3b88f1ff716c3253076cc4e
treed906518be96230cb6ba0a019021a7a32c7ec5c6a
parent1ebef47735cbe16360fc456cc88971e5cc4cee22
[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