LP954059: Silence uninitialized var warning
authorDan Scott <dan@coffeecode.net>
Sat, 5 May 2012 05:32:25 +0000 (01:32 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 May 2012 21:34:29 +0000 (17:34 -0400)
commit0c8d7360c3da2944dc49ad8ac4dfb44070d36214
tree589e9a65879b4a85536dc285188ef64bb7c2c151
parentf13aba803ae69c0402ad4e936126942df16e2748
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