From 747da83c765d8df4c369d3a9bf82ea87ce9f1284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 27 Nov 2021 18:15:59 +0100 Subject: [PATCH] grid: remove useless assertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit grid.c:1041:24: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] --- grid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/grid.c b/grid.c index de51f90b..c0e10b23 100644 --- a/grid.c +++ b/grid.c @@ -1038,7 +1038,6 @@ grid_row_uri_range_put(struct row *row, int col, const char *uri, uint64_t id) } } - xassert(insert_idx >= 0); xassert(insert_idx <= extra->uri_ranges.count); if (replace) {