summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-07-18 14:56:18 -0700
committerEric Anholt <eric@anholt.net>2008-07-18 14:58:27 -0700
commit3cbfc6c76bcd2bc9194a944092f6ce0881ff9da2 (patch)
tree611101c79c346efebeff33deab4beee693121030 /src
parent1b1c4975768f63ed0f3933ec384d24c324a383b3 (diff)
Fix uninitialized-use warning in i830_debug.c ring dumping.
Diffstat (limited to 'src')
-rw-r--r--src/i830_debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/i830_debug.c b/src/i830_debug.c
index 79303460..a7f16835 100644
--- a/src/i830_debug.c
+++ b/src/i830_debug.c
@@ -1314,8 +1314,6 @@ i830_valid_command (uint32_t cmd)
if (!mi_cmds[opcode])
return -1;
break;
- case 1:
- break;
case 2: /* 2D */
count = (cmd & 0x1f) + 2;
opcode = (cmd >> 22) & 0x7f;