diff options
author | Anuj Phogat <[email protected]> | 2013-06-27 16:12:07 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2013-06-28 10:53:43 -0700 |
commit | ee723ffabb4c76f4c1924436af145f5eca1012fc (patch) | |
tree | 4c4aaec619542401666770d021d093f9d43c81ce /src/gallium/drivers/radeonsi/radeonsi_pipe.c | |
parent | bee49cb0ecbacb9fbc9dddc5e560874adacc518e (diff) |
mesa: Return ZeroVec/dummyReg instead of NULL pointer
Assertions are not sufficient to check for null pointers as they don't
show up in release builds. So, return ZeroVec/dummyReg instead of NULL
pointer in get_{src,dst}_register_pointer(). This should calm down the
warnings from static analysis tool.
Note: This is a candidate for the 9.1 branch.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.c')
0 files changed, 0 insertions, 0 deletions