[Mesa-dev] [PATCH 36/41] glapi: glX_proto_send.py: remove useless pass keyword
Dylan Baker
baker.dylan.c at gmail.com
Fri Apr 1 00:04:53 UTC 2016
The pass keyword is the solution for python's whitespace significant
code. It's used when something is needed for whitespace rules, but not
for programming. Don't add it after actual code.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
src/mapi/glapi/gen/glX_proto_send.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py
index 8fe0876..5388163 100644
--- a/src/mapi/glapi/gen/glX_proto_send.py
+++ b/src/mapi/glapi/gen/glX_proto_send.py
@@ -440,7 +440,6 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
self.printRenderFunction(func)
elif func.glx_sop != 0 or func.glx_vendorpriv != 0:
self.printSingleFunction(func, name)
- pass
else:
print "/* Missing GLX protocol for %s. */" % (name)
--
2.8.0
More information about the mesa-dev
mailing list