axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1426254 - /axis/axis2/c/core/trunk/tools/tcpmon/src/util.c
Date Thu, 27 Dec 2012 16:58:05 GMT
Author: nandika
Date: Thu Dec 27 16:58:05 2012
New Revision: 1426254

URL: http://svn.apache.org/viewvc?rev=1426254&view=rev
Log:
Warnings fixed with -Werror

Modified:
    axis/axis2/c/core/trunk/tools/tcpmon/src/util.c

Modified: axis/axis2/c/core/trunk/tools/tcpmon/src/util.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/tools/tcpmon/src/util.c?rev=1426254&r1=1426253&r2=1426254&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/tools/tcpmon/src/util.c (original)
+++ axis/axis2/c/core/trunk/tools/tcpmon/src/util.c Thu Dec 27 16:58:05 2012
@@ -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)
         {



Mime
View raw message