From: Magnus Jacobsson Date: Sun, 8 Nov 2020 08:38:13 +0000 (+0100) Subject: Remove 1 -Wsometimes-uninitialized warning in ortho.c X-Git-Tag: 2.46.0~11^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4b42474844c57ac4c9893a05d59cae4b7e15bd6;p=graphviz Remove 1 -Wsometimes-uninitialized warning in ortho.c --- diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index b626446ec..e41445dce 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -1413,6 +1413,10 @@ coordOf (cell* cp, snode* np) p.y = (cp->bb.LL.y + cp->bb.UR.y)/2; p.x = cp->bb.UR.x; } + else { + agerr (AGERR, "Node not adjacent to cell -- Aborting\n"); + exit(EXIT_FAILURE); + } return p; }