diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2013-04-12 00:22:33 +0100 |
---|---|---|
committer | Christoph Bumiller <christoph.bumiller@speed.at> | 2013-04-12 17:15:14 +0200 |
commit | ac1118d53c0b22db8dcd6fcdcd2d1a245037dbc1 (patch) | |
tree | d89f706be1f64b8dc5e078af969c514b2591aa2a /src/gallium/drivers/r300 | |
parent | 48bcb94dc375af17ceee14693c7cb3fdbb7e2151 (diff) |
nvc0: set ret variable if launch desc allocation failed
Pointed out by gcc
nve4_compute.c: In function 'nve4_launch_grid':
nve4_compute.c:511:7: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
if (ret)
^
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Edit by Christoph Bumiller:
Set it to -1 to indicate failure and only when it's actually required.
Diffstat (limited to 'src/gallium/drivers/r300')
0 files changed, 0 insertions, 0 deletions