projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbed1c
)
spv-light-decoder: Avoid GCC 11.x warning in decode_spvlb_halign().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 13 Mar 2022 18:30:49 +0000
(11:30 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 13 Mar 2022 18:30:49 +0000
(11:30 -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 f1f3dba9607dc68599ceb4a3a755bd471a5754d0..f8c4f618b2edb0bb184af82940328e2512b67b6f 100644
(file)
--- a/
src/output/spv/spv-light-decoder.c
+++ b/
src/output/spv/spv-light-decoder.c
@@
-170,6
+170,7
@@
decode_spvlb_halign (uint32_t in, enum table_halign *halignp)
return NULL;
default:
+ *halignp = 0;
return xasprintf ("bad cell style halign %"PRIu32, in);
}
}