Don't always build coffgen.o
[deliverable/binutils-gdb.git] / gdb / m2-typeprint.c
index 89be6cf64019712d755704c1bd3b47ff36f7f480..72c107b52bbe7a415a697f004540a7cd119e2674 100644 (file)
@@ -1,6 +1,5 @@
 /* Support for printing Modula 2 types for GDB, the GNU debugger.
-   Copyright (C) 1986, 1988-1989, 1991-1992, 1995, 2000-2012 Free
-   Software Foundation, Inc.
+   Copyright (C) 1986-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -33,9 +32,6 @@
 #include "typeprint.h"
 #include "cp-abi.h"
 
-#include "gdb_string.h"
-#include <errno.h>
-
 static void m2_print_bounds (struct type *type,
                             struct ui_file *stream, int show, int level,
                             int print_high);
@@ -78,8 +74,6 @@ m2_print_type (struct type *type, const char *varstring,
               int show, int level,
               const struct type_print_options *flags)
 {
-  enum type_code code;
-
   CHECK_TYPEDEF (type);
 
   QUIT;
@@ -91,7 +85,6 @@ m2_print_type (struct type *type, const char *varstring,
       return;
     }
 
-  code = TYPE_CODE (type);
   switch (TYPE_CODE (type))
     {
     case TYPE_CODE_SET:
This page took 0.025739 seconds and 4 git commands to generate.