Commit e191f502 by Thomas Schwinge Committed by Thomas Schwinge

Avoid "'dc' may be uninitialized" warning.

	libiberty/
	* cp-demangle.c (d_demangle_callback): Put an abort call in place,
	to help the compiler.

From-SVN: r207200
parent d2ca60c0
2014-01-28 Thomas Schwinge <thomas@codesourcery.com>
* cp-demangle.c (d_demangle_callback): Put an abort call in place,
to help the compiler.
2014-01-21 Tom Tromey <tromey@redhat.com> 2014-01-21 Tom Tromey <tromey@redhat.com>
* _doprint.c (checkit): Use stdarg, not VA_* macros. * _doprint.c (checkit): Use stdarg, not VA_* macros.
......
/* Demangler for g++ V3 ABI. /* Demangler for g++ V3 ABI.
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2014
Free Software Foundation, Inc. Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@wasabisystems.com>. Written by Ian Lance Taylor <ian@wasabisystems.com>.
...@@ -5824,6 +5824,8 @@ d_demangle_callback (const char *mangled, int options, ...@@ -5824,6 +5824,8 @@ d_demangle_callback (const char *mangled, int options,
NULL); NULL);
d_advance (&di, strlen (d_str (&di))); d_advance (&di, strlen (d_str (&di)));
break; break;
default:
abort (); /* We have listed all the cases. */
} }
/* If DMGL_PARAMS is set, then if we didn't consume the entire /* If DMGL_PARAMS is set, then if we didn't consume the entire
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment