From 84e50d45a9f03184ab3435d761a441c083a0d820 Mon Sep 17 00:00:00 2001 From: nandika Date: Thu, 27 Dec 2012 16:58:05 +0000 Subject: Warnings fixed with -Werror git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426254 13f79535-47bb-0310-9956-ffa450edef68 --- tools/tcpmon/src/util.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/tcpmon/src/util.c b/tools/tcpmon/src/util.c index d4a73ee..ba33439 100644 --- a/tools/tcpmon/src/util.c +++ b/tools/tcpmon/src/util.c @@ -55,7 +55,7 @@ tcpmon_util_format_as_xml( int c; int tab_pos = 0; int has_value = 0; - int has_space = 0; + /*int has_space = 0;*/ int start_ele = 0; int prev_case = 0; int buffer_size = 0; @@ -145,7 +145,7 @@ tcpmon_util_format_as_xml( prev_case = START_ELEMENT; has_value = 0; - has_space = 0; + /*has_space = 0;*/ if (start_ele != 0) tcpmon_util_strcat(out, "\n", &buffer_size, env); @@ -257,7 +257,7 @@ tcpmon_util_format_as_xml( prev_case = EMPTY_ELEMENT; has_value = 0; - has_space = 0; + /*has_space = 0;*/ if (start_ele != 0) tcpmon_util_strcat(out, "\n", &buffer_size, env); @@ -570,7 +570,7 @@ tcpmon_util_read_current_stream( axis2_char_t *body_ptr = NULL; int header_found = 0; int header_just_finished = 0; - int read = 0; + /*int read = 0;*/ int header_width = 0; int current_line_offset = 0; int mtom_optimized = 0; @@ -590,7 +590,7 @@ tcpmon_util_read_current_stream( buffer = AXIS2_REALLOC(env->allocator, buffer, sizeof(axis2_char_t) * (read_size + 1)); *(buffer + read_size) = '\0'; - read = axutil_stream_read(stream, env, buffer + read_size, 1); + /*read = */axutil_stream_read(stream, env, buffer + read_size, 1); if (header_just_finished) { -- cgit v1.1-32-gdbae