projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1717ba
)
MARC tables: avoid warning due to tail init
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Jan 2010 08:28:54 +0000
(09:28 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Jan 2010 08:28:54 +0000
(09:28 +0100)
Explicitly initalize last entry of flat table to avoid GCC warning.
src/charconv.tcl
patch
|
blob
|
history
diff --git
a/src/charconv.tcl
b/src/charconv.tcl
index
d57f226
..
cc81139
100644
(file)
--- a/
src/charconv.tcl
+++ b/
src/charconv.tcl
@@
-211,7
+211,7
@@
proc dump_trie {ofilehandle} {
set v [lindex $m 3]
puts $f "\}, /* $v */"
}
- puts $f " \{\"\", 0\}"
+ puts $f " \{\"\", 0, 0\}"
puts $f "\};"
puts $f "struct yaz_iconv_trie $trie(prefix)page${this} = \{"
puts $f " $trie(prefix)page${this}_flat, 0"