mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
Removed <0 check for unsigned value.
This commit is contained in:
parent
8ca290671e
commit
3a8b2c2d15
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ static int init_env(void)
|
|||
if (str)
|
||||
{
|
||||
isle_nr = atoi(str);
|
||||
if ((isle_nr < 0) || (isle_nr > 254))
|
||||
if (isle_nr > 254)
|
||||
isle_nr = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue