public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-vla: Simplify the dead assertion.
@ 2010-01-14  1:41 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-01-14  1:41 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-vla has been updated
       via  20f04d767c505173ce3a379600cf46df2a594b27 (commit)
      from  688f0ffde6a6893ab072d88018ad93c99bdd25ed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 20f04d767c505173ce3a379600cf46df2a594b27
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Thu Jan 14 02:40:53 2010 +0100

    Simplify the dead assertion.

-----------------------------------------------------------------------

Summary of changes:
 gdb/gdbtypes.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

First 500 lines of diff:
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 815f849..acf0637 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -3389,10 +3389,7 @@ delete_main_type (struct type *type)
     }
   xfree (TYPE_FIELDS (type));
 
-  /* `struct cplus_struct_type' handling is unsupported by this function.  */
-  gdb_assert ((TYPE_CODE (type) != TYPE_CODE_STRUCT
-	       && TYPE_CODE (type) != TYPE_CODE_UNION)
-	      || !HAVE_CPLUS_STRUCT (type));
+  gdb_assert (!HAVE_CPLUS_STRUCT (type));
 
   xfree (TYPE_MAIN_TYPE (type));
 }


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-14  1:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-14  1:41 [SCM] archer-jankratochvil-vla: Simplify the dead assertion jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).