summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_blit.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-06-29 14:54:01 -0700
committerMatt Turner <[email protected]>2014-07-01 08:55:52 -0700
commit3d826729dabab53896cdbb1f453c76fab1c7e696 (patch)
tree89b687c90a7447f4a89a99c0b42aa546f0a9e176 /src/mesa/drivers/dri/i965/intel_blit.c
parenta3d10c2c304c65e37a940edbbc84f37e5cf88f33 (diff)
i965: Use unreachable() instead of unconditional assert().
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_blit.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_blit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c b/src/mesa/drivers/dri/i965/intel_blit.c
index b5c3408b935..73ab488f00d 100644
--- a/src/mesa/drivers/dri/i965/intel_blit.c
+++ b/src/mesa/drivers/dri/i965/intel_blit.c
@@ -85,8 +85,7 @@ br13_for_cpp(int cpp)
return BR13_8;
break;
default:
- assert(0);
- return 0;
+ unreachable("not reached");
}
}