]> granicus.if.org Git - php/commitdiff
Removed unused variable
authorIlia Alshanetsky <iliaa@php.net>
Wed, 17 Dec 2008 00:30:27 +0000 (00:30 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 17 Dec 2008 00:30:27 +0000 (00:30 +0000)
ext/xmlrpc/libxmlrpc/xml_element.c

index 3762f80080b99dfbf09420052c52bac006e56621..56642d46142ec16d89b4c0bc4bc841b5f84ed467 100644 (file)
@@ -44,6 +44,11 @@ static const char rcsid[] = "#(@) $Id$";
  *   06/2000
  * HISTORY
  *   $Log$
+ *   Revision 1.9.4.1.2.1  2008/12/09 17:22:12  iliaa
+ *
+ *   MFH: Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error
+ *   when given bad data).
+ *
  *   Revision 1.9.4.1  2006/07/30 11:34:02  tony2001
  *   MFH: fix compile warnings (#38257)
  *
@@ -716,7 +721,7 @@ xml_element* xml_elem_parse_buf(const char* in_buf, int len, XML_ELEM_INPUT_OPTI
          int line_num = XML_GetCurrentLineNumber(parser);
          int col_num = XML_GetCurrentColumnNumber(parser);
          long byte_idx = XML_GetCurrentByteIndex(parser);
-         int byte_total = XML_GetCurrentByteCount(parser);
+/*         int byte_total = XML_GetCurrentByteCount(parser); */
          const char * error_str = XML_ErrorString(err_code);
          if(byte_idx >= 0) {
              snprintf(buf,