diff options
| author | Peter Jones <pjones@redhat.com> | 2017-09-26 18:16:26 -0400 |
|---|---|---|
| committer | Peter Jones <pmjones@gmail.com> | 2018-03-12 16:21:43 -0400 |
| commit | 9facc22ebec43dc1e57d997f1814df9c3f9400d1 (patch) | |
| tree | 7b2cb5b1294361cec6dae4778edb10fb779a19f0 /lib/console.c | |
| parent | b953468e91eac48d2e3817f18cd604e20f39c56b (diff) | |
| download | efi-boot-shim-9facc22ebec43dc1e57d997f1814df9c3f9400d1.tar.gz efi-boot-shim-9facc22ebec43dc1e57d997f1814df9c3f9400d1.zip | |
Fix some "if (x < 0)" tests where x is UINTN.
Obviously, these are not correct. Most of them are just useless; one
can be changed to a more useful test.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/console.c')
| -rw-r--r-- | lib/console.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/console.c b/lib/console.c index 358c78bf..b70749dd 100644 --- a/lib/console.c +++ b/lib/console.c @@ -201,8 +201,6 @@ console_select(CHAR16 *title[], CHAR16* selectors[], unsigned int start) selector_max_cols = len; } - if (start < 0) - start = 0; if (start >= selector_lines) start = selector_lines - 1; |
