summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-12-30 02:57:38 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-12-30 02:57:38 +0000
commitad010bc54edae64a928533eda09937aa21dbe786 (patch)
treeb2a1df4b048e931e58bff6631ffa278cfadf0240 /src/lib
parent548a251518fbbf7306357eeb7fa058b7c35223d8 (diff)
Fix some errors the 4.4.3 compiler complains about in C++ mode.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util/chd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c
index c83f6b81c5f..ef09df83211 100644
--- a/src/lib/util/chd.c
+++ b/src/lib/util/chd.c
@@ -1222,7 +1222,7 @@ chd_error chd_get_metadata(chd_file *chd, UINT32 searchtag, UINT32 searchindex,
chd_error chd_set_metadata(chd_file *chd, UINT32 metatag, UINT32 metaindex, const void *inputbuf, UINT32 inputlen, UINT8 flags)
{
UINT8 raw_meta_header[METADATA_HEADER_SIZE];
- metadata_entry metaentry;
+ metadata_entry metaentry = { 0 };
chd_error err;
UINT64 offset;
UINT32 count;