]> granicus.if.org Git - apache/commitdiff
Fix using uninitialized variable.
authorBill Stoddard <stoddard@apache.org>
Thu, 23 Aug 2001 14:56:42 +0000 (14:56 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 23 Aug 2001 14:56:42 +0000 (14:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90550 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/cache_util.c

index cc37aa972c6d8383aa52ab66d4df17e14fdc0401..9d57f67a44016a6cb6de267ff675867eb300454b 100644 (file)
@@ -181,7 +181,7 @@ int ap_cache_liststr(const char *list, const char *key, char **val)
 /* return each comma separated token, one at a time */
 const char *ap_cache_tokstr(apr_pool_t *p, const char *list, const char **str)
 {
-    apr_off_t len, i;
+    apr_off_t len = 0, i;
     const char *s;
 
     s = ap_strchr_c(list, ',');