aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/jit/jit-recording.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/jit/jit-recording.cc b/gcc/jit/jit-recording.cc
index f68d01fff55..43a6795f8f3 100644
--- a/gcc/jit/jit-recording.cc
+++ b/gcc/jit/jit-recording.cc
@@ -5516,7 +5516,7 @@ recording::memento_of_typeinfo::replay_into (replayer *r)
recording::string *
recording::memento_of_typeinfo::make_debug_string ()
{
- const char* ident;
+ const char* ident = "";
switch (m_info_type)
{
case TYPE_INFO_ALIGN_OF:
@@ -5538,7 +5538,7 @@ recording::memento_of_typeinfo::make_debug_string ()
void
recording::memento_of_typeinfo::write_reproducer (reproducer &r)
{
- const char* type;
+ const char* type = "";
switch (m_info_type)
{
case TYPE_INFO_ALIGN_OF: