diff options
author | nandika | 2012-12-27 16:58:05 +0000 |
---|---|---|
committer | nandika | 2012-12-27 16:58:05 +0000 |
commit | 84e50d45a9f03184ab3435d761a441c083a0d820 (patch) | |
tree | 7e1648c9b668b315b835c7d7171a9236f86c7b48 | |
parent | 15f35b386f7d186cca0d435d254a1e7f21bee670 (diff) | |
download | axis2c-84e50d45a9f03184ab3435d761a441c083a0d820.tar.gz axis2c-84e50d45a9f03184ab3435d761a441c083a0d820.tar.bz2 |
Warnings fixed with -Werror
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426254 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | tools/tcpmon/src/util.c | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |