2007-06-28 Michael Snyder * m2-typeprint.c (m2_print_type): Move pointer ref after null test (Coverity). Index: m2-typeprint.c =================================================================== RCS file: /cvs/src/src/gdb/m2-typeprint.c,v retrieving revision 1.11 diff -p -r1.11 m2-typeprint.c *** m2-typeprint.c 9 Jan 2007 17:58:51 -0000 1.11 --- m2-typeprint.c 29 Jun 2007 00:34:37 -0000 *************** m2_print_type (struct type *type, char * *** 72,78 **** int demangled_args; CHECK_TYPEDEF (type); - code = TYPE_CODE (type); QUIT; --- 72,77 ---- *************** m2_print_type (struct type *type, char * *** 83,88 **** --- 82,88 ---- return; } + code = TYPE_CODE (type); switch (TYPE_CODE (type)) { case TYPE_CODE_SET: