mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
Initialize a local variable to prevent a gcc warning about
possible use before set. The code was fine but it is best to keep gcc quiet lest we stop paying attention. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88968 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -334,7 +334,7 @@ const char *dav_xml_get_cdata(const ap_xml_elem *elem, apr_pool_t *pool,
|
||||
char *cdata;
|
||||
char *s;
|
||||
apr_size_t tlen;
|
||||
const char *found_text;
|
||||
const char *found_text = NULL; /* initialize to avoid gcc warning */
|
||||
int found_count = 0;
|
||||
|
||||
for (scan = elem->first_cdata.first; scan != NULL; scan = scan->next) {
|
||||
|
||||
Reference in New Issue
Block a user