projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320f43a
)
Remove 1 -Wunused-but-set-variable warning in edge.c
author
Magnus Jacobsson
<Magnus.Jacobsson@berotec.se>
Sat, 7 Nov 2020 13:32:16 +0000
(14:32 +0100)
committer
Magnus Jacobsson
<Magnus.Jacobsson@berotec.se>
Sat, 21 Nov 2020 08:12:37 +0000
(09:12 +0100)
lib/cgraph/edge.c
patch
|
blob
|
history
diff --git
a/lib/cgraph/edge.c
b/lib/cgraph/edge.c
index 8fdd9845d844f48901bdae5a89ca43d48d2169cd..13204db373a48a8c3ec6ad1a4d70197266dfb44d 100644
(file)
--- a/
lib/cgraph/edge.c
+++ b/
lib/cgraph/edge.c
@@
-176,6
+176,7
@@
static void ins(Dict_t * d, Dtlink_t ** set, Agedge_t * e)
static void del(Dict_t * d, Dtlink_t ** set, Agedge_t * e)
{
void *x;
+ NOTUSED(x);
dtrestore(d, *set);
x = dtdelete(d, e);
assert(x);