[Xcb] [PATCH libxcb 14/18] c_client.py: remove commented debug statements

Ran Benita ran234 at gmail.com
Sun Oct 12 11:58:16 PDT 2014


Signed-off-by: Ran Benita <ran234 at gmail.com>
---
 src/c_client.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/c_client.py b/src/c_client.py
index 1c77bb0..686eca5 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -648,7 +648,6 @@ def get_serialize_params(context, self, buffer_var='_buffer', aux_var='_aux'):
 def _c_serialize_helper_insert_padding(context, code_lines, space, postpone):
     code_lines.append('%s    /* insert padding */' % space)
     code_lines.append('%s    xcb_pad = -xcb_block_len & (xcb_align_to - 1);' % space)
-#    code_lines.append('%s    printf("automatically inserting padding: %%%%d\\n", xcb_pad);' % space)
     code_lines.append('%s    xcb_buffer_len += xcb_block_len + xcb_pad;' % space)
 
     if not postpone:
@@ -1971,8 +1970,6 @@ def _c_request_helper(self, name, cookie_type, void, regular, aux=False, reply_f
         _c('    unsigned int xcb_tmp_len;')
         _c('    char *xcb_tmp;')
     _c('')
-    # simple request call tracing
-#    _c('    printf("in function %s\\n");' % func_name)
 
     # fixed size fields
     for field in wire_fields:
-- 
2.1.2



More information about the Xcb mailing list