From 0f906cd58f5c47630aee93e04b4d7b9590e4c967 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 24 Oct 2020 11:51:27 -0700 Subject: [PATCH] remove a now unused jmp_buf Related to #1801. --- lib/pathplan/shortest.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pathplan/shortest.c b/lib/pathplan/shortest.c index 4f54cb27a..a51d99ef3 100644 --- a/lib/pathplan/shortest.c +++ b/lib/pathplan/shortest.c @@ -14,7 +14,6 @@ #include #include -#include #include #include #include @@ -64,7 +63,6 @@ typedef struct deque_t { int pnlpn, fpnlpi, lpnlpi, apex; } deque_t; -static jmp_buf jbuf; static pointnlink_t *pnls, **pnlps; static int pnln, pnll; @@ -115,8 +113,6 @@ int Pshortestpath(Ppoly_t * polyp, Ppoint_t * eps, Ppolyline_t * output) int pnli; #endif - if (setjmp(jbuf)) - return -2; /* make space */ if (growpnls(polyp->pn) != 0) return -2; -- 2.40.0