summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_state_inlines.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-24 23:48:05 -0700
committerVinson Lee <vlee@vmware.com>2010-09-24 23:48:05 -0700
commit53e6eb8dbeedce5699bd43049d5dc1dde9d8855e (patch)
treecb9fbd5023602e05d553a5d69bc8c0cc902a732e /src/gallium/drivers/r600/r600_state_inlines.h
parent95cb6d30ae442614acd3cf1bee3c19517abb6d63 (diff)
r600g: Silence 'control reaches end of non-void function' warning.
Fixes this GCC warning. r600_hw_states.c: In function 'r600_translate_fill': r600_state_inlines.h:136: warning: control reaches end of non-void function
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_inlines.h')
-rw-r--r--src/gallium/drivers/r600/r600_state_inlines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state_inlines.h b/src/gallium/drivers/r600/r600_state_inlines.h
index a9e7619bf3..81ce1bb190 100644
--- a/src/gallium/drivers/r600/r600_state_inlines.h
+++ b/src/gallium/drivers/r600/r600_state_inlines.h
@@ -132,6 +132,9 @@ static INLINE uint32_t r600_translate_fill(uint32_t func)
return 1;
case PIPE_POLYGON_MODE_POINT:
return 0;
+ default:
+ assert(0);
+ return 0;
}
}