diff options
author | Christian C <cc@localhost> | 2025-03-06 16:11:39 -0800 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-06 16:11:39 -0800 |
commit | 05c53bb909ccaa8d8aeefc62a0850664c6075cce (patch) | |
tree | 339e9ed2575ce768474e94edadf4f68bc3d2fd02 | |
parent | c370b4e6f56e52bef91aabfc4bb547a1be5be6f1 (diff) |
Remove unused variables
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | src/lib/seg/util.c | 1 | ||||
-rw-r--r-- | src/main.c | 2 |
3 files changed, 1 insertions, 3 deletions
@@ -29,6 +29,7 @@ CFLAGS= CFLAGS+=$(shell $(PKGCONF) --cflags $(PKGS)) CFLAGS+=-I$(INC_DIR) CFLAGS+=$(DEFINES) +CFLAGS+=-Wall LDFLAGS= LDFLAGS+=$(shell $(PKGCONF) --libs $(PKGS)) diff --git a/src/lib/seg/util.c b/src/lib/seg/util.c index 238fa1c..8a5f5e5 100644 --- a/src/lib/seg/util.c +++ b/src/lib/seg/util.c @@ -122,7 +122,6 @@ uint16_t* _erode(uint16_t* mask, uint32_t width, uint32_t height) new_mask[current_position] = mask[current_position]; continue; } - bool_t erode = FALSE; size_t proposed_position; if (x != 0) { proposed_position = xy_to_coord(x-1, y, width, height); @@ -131,7 +131,6 @@ int main(int argc, char** argv) return 1; } - uint16_t* new_masks; //----------------------------------------------- //-FIND-CONTIGUOUS-REGIONS----------------------- //----------------------------------------------- @@ -173,7 +172,6 @@ int main(int argc, char** argv) #endif free_avl_tree_nodes(root); - uint16_t *new_labels; TIME(ts_start); //----------------------------------------------- //-CLOSE-UP-SMALL-GAPS-BETWEEN-REGIONS----------- |