Remove duplicate assignment of repeat_type_uniform_location
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Wed, 12 Mar 2014 00:28:10 +0000 (17:28 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 17 Mar 2014 21:30:57 +0000 (14:30 -0700)
commit6227f07b69b8ab3cd39cf9d257daf2a7202b4ef5
treeddcad02e0d695be5291027ec90047f0047754a6d
parent1a4b24993974200e26345ea6c501d4aa093169db
Remove duplicate assignment of repeat_type_uniform_location

Flagged by cppcheck 1.64:
[glamor/glamor_gradient.c:987] -> [glamor/glamor_gradient.c:991]:
    (performance) Variable 'repeat_type_uniform_location' is
             reassigned a value before the old one has been used.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
glamor/glamor_gradient.c