[Xcb-commit] src
Bart Massey
bart at kemper.freedesktop.org
Wed Sep 3 13:53:23 PDT 2008
src/c_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d6d44e1bf09cca8aefbf4ce9875d7f794bf19fb1
Author: Bart Massey <bart at cs.pdx.edu>
Date: Wed Sep 3 13:52:58 2008 -0700
fixed overly aggressive warning about fixed field following variable
diff --git a/src/c_client.py b/src/c_client.py
index db974e0..d634c27 100755
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -640,7 +640,7 @@ def _c_complex(self):
if not field.type.fixed_size():
varfield = field.c_field_name
continue
- if varfield != None and not field.type.is_pad:
+ if varfield != None and not field.type.is_pad and field.wire:
errmsg = '%s: warning: variable field %s followed by fixed field %s\n' % (self.c_type, varfield, field.c_field_name)
sys.stderr.write(errmsg)
# sys.exit(1)
More information about the xcb-commit
mailing list