From 38c840f98f5f85fdd0d4553d2ef2ea0f0d7fb1f0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 14 Jan 2010 09:28:54 +0100 Subject: [PATCH] MARC tables: avoid warning due to tail init Explicitly initalize last entry of flat table to avoid GCC warning. --- src/charconv.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.7.10.4