From: Tapani Pälli Date: Mon, 30 Mar 2015 04:59:53 +0000 (+0300) Subject: glsl: fix unreachable(!"") to unreachable("") X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce83a6ec8142894531cfad8cd677cd3dc47eced7;p=mesa.git glsl: fix unreachable(!"") to unreachable("") Correct error with commit 151fb1e where assert was renamed to unreachable without removing ! from string argument. Signed-off-by: Tapani Pälli Reviewed-by: Ilia Mirkin --- diff --git a/src/glsl/loop_controls.cpp b/src/glsl/loop_controls.cpp index d7f0b28090f..51804bb5fe8 100644 --- a/src/glsl/loop_controls.cpp +++ b/src/glsl/loop_controls.cpp @@ -139,7 +139,7 @@ calculate_iterations(ir_rvalue *from, ir_rvalue *to, ir_rvalue *increment, iter = new(mem_ctx) ir_constant(double(iter_value + bias[i])); break; default: - unreachable(!"Unsupported type for loop iterator."); + unreachable("Unsupported type for loop iterator."); } ir_expression *const mul =