star-cad

Geometric operators for computer-aided design
git clone git://git.meso-star.fr/star-cad.git
Log | Files | Refs | README | LICENSE

commit 1fae306affef7555d8e7b97c93793c68d6ea1cae
parent cbf80b6d2e71ff800fd1ec304bdc92b7279cfd57
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu,  5 Jun 2025 16:46:10 +0200

Remove useless code

Diffstat:
Msrc/test_partition.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test_partition.c b/src/test_partition.c @@ -103,7 +103,6 @@ int main(int argc, char* argv[]) { struct mem_allocator allocator; - res_T res = RES_OK; (void)argc; (void)argv; @@ -125,5 +124,5 @@ main(int argc, char* argv[]) mem_shutdown_proxy_allocator(&allocator); CHK(mem_allocated_size() == 0); - return (res == RES_OK) ? EXIT_SUCCESS : EXIT_FAILURE; + return EXIT_SUCCESS; }