From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9899 invoked by alias); 19 Oct 2005 20:03:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9892 invoked by uid 22791); 19 Oct 2005 20:03:21 -0000 Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 19 Oct 2005 20:03:21 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-166-190.inter.net.il [84.228.166.190]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BSR78034 (AUTH halo1); Wed, 19 Oct 2005 22:03:11 +0200 (IST) Date: Wed, 19 Oct 2005 20:03:00 -0000 Message-Id: From: Eli Zaretskii To: Andrew STUBBS CC: gdb-patches@sources.redhat.com In-reply-to: <43561685.3010300@st.com> (message from Andrew STUBBS on Wed, 19 Oct 2005 10:48:53 +0100) Subject: Re: PATCH: Problem union comparision in TUI Reply-to: Eli Zaretskii References: <4353BA69.1030401@st.com> <43561685.3010300@st.com> X-SW-Source: 2005-10/txt/msg00162.txt.bz2 > Date: Wed, 19 Oct 2005 10:48:53 +0100 > From: Andrew STUBBS > Cc: gdb-patches@sources.redhat.com > > Is there any reason for using a union here? The reason is that the code should be clean and self-explanatory. Using the same variable for storing two utterly different objects is IMHO The Mother Of Unclean Code.