summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-04-03 14:41:18 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-04-04 11:57:39 +0100
commit1beb80cb56170333c7fbe6bb144610d47e29f610 (patch)
tree3ffa0edb560a4419da97534c5623eb36bb9a562e
parent41ac0b1443ca7c8c3481eab978a41b7caba5503a (diff)
intel: compiler: silence compiler warning
../src/intel/compiler/brw_reg.h: In function ‘bool brw_regs_negative_equal(const brw_reg*, const brw_reg*)’: ../src/intel/compiler/brw_reg.h:305:1: warning: control reaches end of non-void function [-Wreturn-type] Introduced by 8f83eea71e233 ("i965: Add negative_equals methods"). Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
-rw-r--r--src/intel/compiler/brw_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_reg.h b/src/intel/compiler/brw_reg.h
index 68158cc0cc8..afcd146de2c 100644
--- a/src/intel/compiler/brw_reg.h
+++ b/src/intel/compiler/brw_reg.h
@@ -293,6 +293,7 @@ brw_regs_negative_equal(const struct brw_reg *a, const struct brw_reg *b)
case BRW_REGISTER_TYPE_UB:
case BRW_REGISTER_TYPE_B:
case BRW_REGISTER_TYPE_NF:
+ default:
unreachable("not reached");
}
} else {