mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 22:15:12 +08:00
2007-06-28 Michael Snyder <msnyder@access-company.com>
* m2-typeprint.c (m2_print_type): Move pointer ref after null test (Coverity).
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
2007-06-28 Michael Snyder <msnyder@access-company.com>
|
||||
|
||||
* m2-typeprint.c (m2_print_type): Move pointer ref after null test
|
||||
(Coverity).
|
||||
|
||||
* linux-thread-db.c (thread_db_get_thread_local_address): Add
|
||||
gdb_assert before using return value of find_thread_pid (Coverity).
|
||||
|
||||
|
@ -72,7 +72,6 @@ m2_print_type (struct type *type, char *varstring, struct ui_file *stream,
|
||||
int demangled_args;
|
||||
|
||||
CHECK_TYPEDEF (type);
|
||||
code = TYPE_CODE (type);
|
||||
|
||||
QUIT;
|
||||
|
||||
@ -83,6 +82,7 @@ m2_print_type (struct type *type, char *varstring, struct ui_file *stream,
|
||||
return;
|
||||
}
|
||||
|
||||
code = TYPE_CODE (type);
|
||||
switch (TYPE_CODE (type))
|
||||
{
|
||||
case TYPE_CODE_SET:
|
||||
|
Reference in New Issue
Block a user