about summary refs log tree commit diff
path: root/sysdeps/generic/unwind-dw2-fde.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-07 20:52:23 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-07 20:52:23 +0000
commit8b7600e8cf56d5409c5733ffee77838ca7aa4428 (patch)
treef432f9b3491ee56d56c66e2f6c85c64eff028df3 /sysdeps/generic/unwind-dw2-fde.c
parentcec4091671724d867d1bc80c37be9f50f572c8f7 (diff)
downloadglibc-8b7600e8cf56d5409c5733ffee77838ca7aa4428.tar.gz
glibc-8b7600e8cf56d5409c5733ffee77838ca7aa4428.tar.xz
glibc-8b7600e8cf56d5409c5733ffee77838ca7aa4428.zip
* sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove
	unnecessary test for accu->linear == NULL [Coverity CID 79].
Diffstat (limited to 'sysdeps/generic/unwind-dw2-fde.c')
-rw-r--r--sysdeps/generic/unwind-dw2-fde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/unwind-dw2-fde.c b/sysdeps/generic/unwind-dw2-fde.c
index 1f03d17279..13945b9719 100644
--- a/sysdeps/generic/unwind-dw2-fde.c
+++ b/sysdeps/generic/unwind-dw2-fde.c
@@ -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)