diff options
author | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-04 04:28:41 +0000 |
---|---|---|
committer | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-04 04:28:41 +0000 |
commit | 0f5c32682bbb29abf064b5d988e8dd54c1c0b468 (patch) | |
tree | 77e7307896e72818b9386380c67f0fb2fcfe13b4 /strings | |
parent | ead4ae0559a583011dbf6910ec9d37506a0bceec (diff) | |
download | libapr-0f5c32682bbb29abf064b5d988e8dd54c1c0b468.tar.gz |
fix an uninitialized variable
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63789 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r-- | strings/apr_strings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/strings/apr_strings.c b/strings/apr_strings.c index 15eb5cb4a..bf14bbcee 100644 --- a/strings/apr_strings.c +++ b/strings/apr_strings.c @@ -325,6 +325,7 @@ APR_DECLARE(apr_int64_t) apr_strtoi64(const char *nptr, char **endptr, int base) * Set 'any' if any `digits' consumed; make it negative to indicate * overflow. */ + val = 0; while (acc >= 0 && (c = *s++)) { if (c >= '0' && c <= '9') c -= '0'; |