summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-03-29 17:47:24 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2016-03-31 16:03:58 -0700
commitbeeca8ac44bfc6b18c1e2f13cdda0143313c103e (patch)
tree550413ec44ddfc70c2605754246193faed7bbc2d
parente14b9c8c5e1d1ba0cfc5bb7a018c9505679e598b (diff)
glapi: glX_proto_common.py: return variable from glx_print_proto.size_call
The variable has the same value as the explicit None return, but makes it clearer what's going on. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--src/mapi/glapi/gen/glX_proto_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_common.py b/src/mapi/glapi/gen/glX_proto_common.py
index b1db0f7022..d14d43a4ac 100644
--- a/src/mapi/glapi/gen/glX_proto_common.py
+++ b/src/mapi/glapi/gen/glX_proto_common.py
@@ -70,7 +70,7 @@ class glx_print_proto(gl_XML.gl_print_base):
return compsize
- return None
+ return compsize
def emit_packet_size_calculation(self, f, bias):
# compsize is only used in the command size calculation if