From: Adam Dickmeiss Date: Thu, 14 Jan 2010 08:28:54 +0000 (+0100) Subject: MARC tables: avoid warning due to tail init X-Git-Tag: v4.0.0~50 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=38c840f98f5f85fdd0d4553d2ef2ea0f0d7fb1f0;p=yaz-moved-to-github.git MARC tables: avoid warning due to tail init Explicitly initalize last entry of flat table to avoid GCC warning. --- diff --git a/src/charconv.tcl b/src/charconv.tcl index d57f226..cc81139 100644 --- 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"