Add virtual destructor to tui_layout_base
[deliverable/binutils-gdb.git] / gold / reduced_debug_output.cc
index 31eaf779cd3231977db259f1297aa2afaa051147..30c475666f31c5dda2bb1758d41c5fbdcae73564 100644 (file)
@@ -1,6 +1,6 @@
 // reduced_debug_output.cc -- output reduced debugging information to save space
 
-// Copyright 2008, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2008-2019 Free Software Foundation, Inc.
 // Written by Caleb Howe <cshowe@google.com>.
 
 // This file is part of gold.
@@ -60,7 +60,6 @@ Output_reduced_debug_info_section::get_die_end(
         return false;
       switch(form)
         {
-          case elfcpp::DW_FORM_null:
           case elfcpp::DW_FORM_flag_present:
             break;
           case elfcpp::DW_FORM_strp:
@@ -128,9 +127,9 @@ Output_reduced_debug_info_section::get_die_end(
               break;
             }
           case elfcpp::DW_FORM_indirect:
-          case elfcpp::DW_FORM_GNU_ref_index:
           case elfcpp::DW_FORM_GNU_addr_index:
           case elfcpp::DW_FORM_GNU_str_index:
+          default:
             return false;
       }
     }
This page took 0.026409 seconds and 4 git commands to generate.