projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43651d5
)
spv-light-decoder: Avoid GCC 10.x warning in decode_spvlb_valign().
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 31 Aug 2020 18:00:24 +0000
(11:00 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 31 Aug 2020 18:58:19 +0000
(11:58 -0700)
It seems to be wrong, but GCC can't tell and it's hard to blame it.
src/output/spv/spv-light-decoder.c
patch
|
blob
|
history
diff --git
a/src/output/spv/spv-light-decoder.c
b/src/output/spv/spv-light-decoder.c
index 7b890a1f65a32dadded174143da01e0d76f97c47..2cc7f63221ad9b1d9396b51a0c2340bc74ce2d65 100644
(file)
--- a/
src/output/spv/spv-light-decoder.c
+++ b/
src/output/spv/spv-light-decoder.c
@@
-185,6
+185,7
@@
decode_spvlb_valign (uint32_t in, enum table_valign *valignp)
return NULL;
default:
+ *valignp = 0;
return xasprintf ("bad cell style valign %"PRIu32, in);
}
}