glthread: don't insert an empty line after (void) cmd;
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Feb 2020 23:10:37 +0000 (18:10 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:06:14 +0000 (01:06 +0000)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>

src/mapi/glapi/gen/gl_marshal.py

index a421c95dcfe2d3f63c0cb973c5c2af5e2c9b0bf5..8e918a095ec7a0f00bdd3b13828843e5d46c765d 100644 (file)
@@ -130,7 +130,7 @@ class PrintCode(gl_XML.gl_print_base):
                 i += 1
 
         if not func.fixed_params and not func.variable_params:
-            out('(void) cmd;\n')
+            out('(void) cmd;')
 
         # Uncomment this if you want to call _mesa_glthread_finish for debugging
         #out('_mesa_glthread_finish(ctx);')