summaryrefslogtreecommitdiffhomepage
path: root/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'source.c')
-rw-r--r--source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source.c b/source.c
index f2bd8bf..c4060eb 100644
--- a/source.c
+++ b/source.c
@@ -126,7 +126,7 @@ uc_source_put(uc_source_t *source)
uc_source_type_t
uc_source_type_test(uc_source_t *source)
{
- union { char s[sizeof(uint32_t)]; uint32_t n; } buf;
+ union { char s[sizeof(uint32_t)]; uint32_t n; } buf = { 0 };
uc_source_type_t type = UC_SOURCE_TYPE_PLAIN;
FILE *fp = source->fp;
size_t rlen;