mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Correct function return types for new and fussy gcc.
This commit is contained in:
@ -1988,7 +1988,7 @@ debug_name_type (handle, name, type)
|
||||
nm = debug_add_to_namespace (info, &info->current_file->globals, name,
|
||||
DEBUG_OBJECT_TYPE, DEBUG_LINKAGE_NONE);
|
||||
if (nm == NULL)
|
||||
return false;
|
||||
return DEBUG_TYPE_NULL;
|
||||
|
||||
nm->u.type = t;
|
||||
|
||||
@ -2044,7 +2044,7 @@ debug_tag_type (handle, name, type)
|
||||
nm = debug_add_to_namespace (info, &info->current_file->globals, name,
|
||||
DEBUG_OBJECT_TAG, DEBUG_LINKAGE_NONE);
|
||||
if (nm == NULL)
|
||||
return false;
|
||||
return DEBUG_TYPE_NULL;
|
||||
|
||||
nm->u.tag = t;
|
||||
|
||||
|
Reference in New Issue
Block a user