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 <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to