Page MenuHomeFreeBSD

[iscsictl] Fix compiler issues on gcc-6.4
ClosedPublic

Authored by adrian on Nov 1 2020, 2:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 2:13 PM
Unknown Object (File)
Nov 2 2024, 4:06 PM
Unknown Object (File)
Oct 10 2024, 5:01 AM
Unknown Object (File)
Oct 7 2024, 3:23 AM
Unknown Object (File)
Oct 6 2024, 5:50 AM
Unknown Object (File)
Oct 3 2024, 4:59 AM
Unknown Object (File)
Oct 3 2024, 12:02 AM
Unknown Object (File)
Oct 1 2024, 4:26 AM
Subscribers

Details

Summary

This fixes two compiler warnings-that-are-errors:

  • don't compare a uint64_t to be >= 0; it will always be that
  • don't double-define yylex(); the definition for it is provided in a library header file.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

adrian requested review of this revision.Nov 1 2020, 2:31 AM

hi! please lemme know what you think!

usr.bin/iscsictl/parse.y
362 ↗(On Diff #79025)

That doesn't look right at all now. What is it testing?

This revision is now accepted and ready to land.Nov 1 2020, 3:45 AM