]> 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:54:35 +0000 (01:54 -0400)
commitf56b12a2026fd02b5770fe8c9a39ad2b6eecf34c
treed0063c748b5612ce4b953f8912cdac25b6999207
parent9b8cc2292969a3c4413df764b735166c723128e3
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