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:
parent
1ac7d223d3
commit
f08312c2d4
2 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue