mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The ERANGE initialization is not necessary.
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15031 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdlib_strtoull.c,v 1.4 2005-09-28 09:28:39 obarthel Exp $
|
||||
* $Id: stdlib_strtoull.c,v 1.5 2005-09-28 09:51:16 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -182,10 +182,7 @@ strtoull(const char *str, char **ptr, int base)
|
||||
|
||||
/* Did we convert anything? */
|
||||
if(num_digits_converted == 0)
|
||||
{
|
||||
__set_errno(ERANGE);
|
||||
goto out;
|
||||
}
|
||||
|
||||
if(is_negative)
|
||||
result = (-sum);
|
||||
|
||||
Reference in New Issue
Block a user