jwoolley 01/06/11 07:46:35 Modified: support htdigest.c Log: Silence gcc warning about rv being used when possibly uninitialized. That can only happen if n<=1 (ie, a bad parameter value), so I figure APR_EINVAL is the correct default value. Revision Changes Path 1.26 +1 -1 httpd-2.0/support/htdigest.c Index: htdigest.c =================================================================== RCS file: /home/cvs/httpd-2.0/support/htdigest.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -u -r1.25 -r1.26 --- htdigest.c 2001/06/10 21:01:57 1.25 +++ htdigest.c 2001/06/11 14:46:30 1.26 @@ -122,7 +122,7 @@ { register int i = 0; char ch; - apr_status_t rv; + apr_status_t rv = APR_EINVAL; while (i < (n - 1) && ((rv = apr_file_getc(&ch, f)) == APR_SUCCESS) && (ch != '\n')) {