[Mesa-dev] [PATCH 31/41] glapi: glX_proto_common.py: return variable from glx_print_proto.size_call
Dylan Baker
baker.dylan.c at gmail.com
Fri Apr 1 00:04:48 UTC 2016
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 at intel.com>
---
src/mapi/glapi/gen/glX_proto_common.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/glX_proto_common.py b/src/mapi/glapi/gen/glX_proto_common.py
index b1db0f7..d14d43a 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
--
2.8.0
More information about the mesa-dev
mailing list