projects
/
OpenSRF.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LP954059: Silence uninitialized var warning
[OpenSRF.git]
/
src
/
libopensrf
/
osrf_utf8.c
diff --git
a/src/libopensrf/osrf_utf8.c
b/src/libopensrf/osrf_utf8.c
index
fe468d7
..
e83be28
100644
(file)
--- a/
src/libopensrf/osrf_utf8.c
+++ b/
src/libopensrf/osrf_utf8.c
@@
-346,7
+346,7
@@
typedef enum {
*/
int buffer_append_utf8( growing_buffer* buf, const char* string ) {
utf8_state state = S_BEGIN;
- unsigned long utf8_char;
+ unsigned long utf8_char
= 0
;
const unsigned char* s = (unsigned char *) string;
int i = 0;
int rc = 0;