projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4f610
)
gvpr parseProg: squash -Wswitch-default warning
author
Matthew Fernandez
<matthew.fernandez@gmail.com>
Sun, 7 Aug 2022 03:41:18 +0000
(20:41 -0700)
committer
Matthew Fernandez
<matthew.fernandez@gmail.com>
Wed, 10 Aug 2022 14:52:27 +0000
(07:52 -0700)
This switch is exhaustive.
lib/gvpr/parse.c
patch
|
blob
|
history
diff --git
a/lib/gvpr/parse.c
b/lib/gvpr/parse.c
index 2b0555a5cc695ef1dae55341d8c6a5a1a61bef57..72fb7cfe6042d537890d8cede6d60c7f4d7521a0 100644
(file)
--- a/
lib/gvpr/parse.c
+++ b/
lib/gvpr/parse.c
@@
-548,6
+548,8
@@
parse_prog *parseProg(char *input, int isFile)
case Error: /* to silence warnings */
more = false;
break;
+ default:
+ UNREACHABLE();
}
}