]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP954059: Silence uninitialized var warning
authorDan Scott <dan@coffeecode.net>
Sat, 5 May 2012 05:32:25 +0000 (01:32 -0400)
committerDan Scott <dan@coffeecode.net>
Tue, 22 May 2012 05:57:30 +0000 (01:57 -0400)
commit3aabf1932f93bc6e1e6693001734a1f1bcdbdce0
treed0b257e16a10b6d81a4d0eff0408d599eea81d09
parent4fe1fdc7d4561e04212444786fd61d95eae69eb0
LP954059: Silence uninitialized var warning

Compiling osrf_utf8.c generates the following warning:

osrf_utf8.c:510:29: warning: utf8_char may be used uninitialized in this
function [-Wuninitialized]

So... initialize utf8_char when we declare it, and make the compiler
happy.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
src/libopensrf/osrf_utf8.c