Revert WiP to contrib/tzcode accidentally committed with r274364
This commit is contained in:
parent
ad11def521
commit
0b837c87ce
@ -1792,11 +1792,7 @@ int delta;
|
||||
|
||||
number0 = *number;
|
||||
*number += delta;
|
||||
if ((*number < number0) != (delta < 0)) {
|
||||
errno = EOVERFLOW;
|
||||
return (1);
|
||||
}
|
||||
return (0);
|
||||
return (*number < number0) != (delta < 0);
|
||||
}
|
||||
|
||||
static int
|
||||
@ -1808,11 +1804,7 @@ int delta;
|
||||
|
||||
number0 = *number;
|
||||
*number += delta;
|
||||
if ((*number < number0) != (delta < 0)) {
|
||||
errno = EOVERFLOW;
|
||||
return (1);
|
||||
}
|
||||
return (0);
|
||||
return (*number < number0) != (delta < 0);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user