Commit b17ce220 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 87883ac6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {