Skip to content
Commit bdb15776 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

cmd: efidebug: fix -Werror=type-limits warning



Compiling with -Wtype-limits yields:

cmd/efidebug.c:968:32: error: comparison is always false due to limited
range of data type [-Werror=type-limits]
  968 |  if (*endp != '\0' || bootnext > 0xffff) {
      |

Remove the superfluous check.

Fixes: 59df7e7e ("cmd: add efidebug command")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent de699187
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment