diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2008-01-29 16:12:06 +0000 | 
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2008-01-29 16:12:06 +0000 | 
| commit | ac1a00f2ebd2d3d0a8fe7437da48a28d55684f9c (patch) | |
| tree | ee59618930fdd273b25d8358de7b2c054c48b32f /contrib/binutils/libiberty/cp-demangle.c | |
| parent | 1cf866da1649314dd019b7fe76f13e572b17d100 (diff) | |
Notes
Diffstat (limited to 'contrib/binutils/libiberty/cp-demangle.c')
| -rw-r--r-- | contrib/binutils/libiberty/cp-demangle.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/binutils/libiberty/cp-demangle.c b/contrib/binutils/libiberty/cp-demangle.c index 19f191ed8b8b2..bb543fa0c2fb2 100644 --- a/contrib/binutils/libiberty/cp-demangle.c +++ b/contrib/binutils/libiberty/cp-demangle.c @@ -2396,6 +2396,8 @@ d_expr_primary (di)        const char *s;        type = cplus_demangle_type (di); +      if (type == NULL) +	return NULL;        /* If we have a type we know how to print, we aren't going to  	 print the type name itself.  */  | 
