mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 02:00:21 +01:00
aux/indices: remove useless lines
Presumably these were added to silence a "variable j not used" compiler warning, but "j" seems used in the loop counter. Reported by static analysis. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35877>
This commit is contained in:
parent
62657471c8
commit
41c7e6b17c
2 changed files with 0 additions and 2 deletions
|
|
@ -176,7 +176,6 @@ def preamble(f: 'T.TextIO', intype, outtype, inpv, outpv, pr, prim, out_prim):
|
|||
f.write(' const ' + intype + '_t* restrict in = (const ' + intype + '_t* restrict)_in;\n')
|
||||
f.write(' ' + outtype + '_t * restrict out = (' + outtype + '_t* restrict)_out;\n')
|
||||
f.write(' unsigned i, j;\n')
|
||||
f.write(' (void)j;\n')
|
||||
|
||||
def postamble(f: 'T.TextIO'):
|
||||
f.write('}\n')
|
||||
|
|
|
|||
|
|
@ -124,7 +124,6 @@ def preamble(f: 'T.TextIO', intype, outtype, prim):
|
|||
f.write(' const ' + intype + '_t *in = (const ' + intype + '_t*)_in;\n')
|
||||
f.write(' ' + outtype + '_t *out = (' + outtype + '_t*)_out;\n')
|
||||
f.write(' unsigned i, j;\n')
|
||||
f.write(' (void)j;\n')
|
||||
|
||||
def postamble(f: 'T.TextIO'):
|
||||
f.write('}\n')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue