* sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove
authorUlrich Drepper <drepper@redhat.com>
Fri, 7 Apr 2006 20:52:23 +0000 (20:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 7 Apr 2006 20:52:23 +0000 (20:52 +0000)
unnecessary test for accu->linear == NULL [Coverity CID 79].

ChangeLog
sysdeps/generic/unwind-dw2-fde.c

index e9b36e0..0c72a94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove
+       unnecessary test for accu->linear == NULL [Coverity CID 79].
+
 2006-04-07  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min
index 1f03d17..13945b9 100644 (file)
@@ -1,5 +1,5 @@
 /* Subroutines needed for unwinding stack frames for exception handling.  */
-/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006
    Free Software Foundation, Inc.
    Contributed by Jason Merrill <jason@cygnus.com>.
 
@@ -595,7 +595,7 @@ end_fde_sort (struct object *ob, struct fde_accumulator *accu, size_t count)
 {
   fde_compare_t fde_compare;
 
-  if (accu->linear && accu->linear->count != count)
+  if (accu->linear->count != count)
     abort ();
 
   if (ob->s.b.mixed_encoding)