summaryrefslogtreecommitdiffstats
path: root/libdimension/prtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/prtree.c')
-rw-r--r--libdimension/prtree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdimension/prtree.c b/libdimension/prtree.c
index c59bcc4..33cb9a2 100644
--- a/libdimension/prtree.c
+++ b/libdimension/prtree.c
@@ -121,8 +121,7 @@ dmnsn_get_coordinate(const dmnsn_prnode * const *node, int comparator)
return -(*node)->bounding_box.max.z;
default:
- dmnsn_assert(false, "Invalid comparator.");
- return 0.0; /* Shut up compiler */
+ dmnsn_unreachable("Invalid comparator.");
}
}