aboutsummaryrefslogtreecommitdiff
path: root/binutils/mclex.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-05-19 15:05:12 +0100
committerNick Clifton <nickc@redhat.com>2022-05-19 15:05:12 +0100
commit95086e1e54a726a0d7671d70640bc76e4fddf198 (patch)
tree8e8283dde5b40f111b4f6b834ddd304821c8f22d /binutils/mclex.c
parent18bd4744611b97e9fca41f97b871eea7bd66bd3e (diff)
downloadfsf-binutils-gdb-95086e1e54a726a0d7671d70640bc76e4fddf198.zip
fsf-binutils-gdb-95086e1e54a726a0d7671d70640bc76e4fddf198.tar.gz
fsf-binutils-gdb-95086e1e54a726a0d7671d70640bc76e4fddf198.tar.bz2
Fix potentially uninitialised variables in the Windows tools
Diffstat (limited to 'binutils/mclex.c')
-rw-r--r--binutils/mclex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/mclex.c b/binutils/mclex.c
index fd28886..fe6f127 100644
--- a/binutils/mclex.c
+++ b/binutils/mclex.c
@@ -212,7 +212,7 @@ enum_severity (int e)
static void
mc_add_keyword_ascii (const char *sz, int rid, const char *grp, rc_uint_type nv, const char *sv)
{
- unichar *usz, *usv = NULL;
+ unichar *usz = NULL, *usv = NULL;
rc_uint_type usz_len;
unicode_from_codepage (&usz_len, &usz, sz, CP_ACP);