From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19241 invoked by alias); 15 Jul 2011 02:11:08 -0000 Received: (qmail 19169 invoked by uid 22791); 15 Jul 2011 02:11:07 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-fx0-f54.google.com (HELO mail-fx0-f54.google.com) (209.85.161.54) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jul 2011 02:10:53 +0000 Received: by fxe4 with SMTP id 4so1810342fxe.13 for ; Thu, 14 Jul 2011 19:10:51 -0700 (PDT) Received: by 10.223.64.66 with SMTP id d2mr4416579fai.116.1310695850065; Thu, 14 Jul 2011 19:10:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.121.140 with HTTP; Thu, 14 Jul 2011 19:10:10 -0700 (PDT) In-Reply-To: <20110714145930.GA19882@host1.jankratochvil.net> References: <20110714145930.GA19882@host1.jankratochvil.net> From: Hui Zhu Date: Fri, 15 Jul 2011 09:03:00 -0000 Message-ID: Subject: Re: [OB] remote.c: initialize p to handle build error To: Jan Kratochvil Cc: gdb-patches ml Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00381.txt.bz2 Hi Jan, Thanks for your help. Checked in according to your mail. http://sourceware.org/ml/gdb-cvs/2011-07/msg00141.html http://sourceware.org/ml/gdb-cvs/2011-07/msg00142.html Best, Hui On Thu, Jul 14, 2011 at 22:59, Jan Kratochvil w= rote: > On Thu, 14 Jul 2011 06:48:54 +0200, Hui Zhu wrote: >> =A0 =A0 =A0 * remote.c (remote_get_trace_status): Initialize p. > > Also for 7.3; although it does not use -Werror. > > BTW there are sometimes comments in these cases like: > =A0 =A0 =A0 =A0/* Initialize it just to avoid a GCC false warning. =A0*/ > > > Thanks/sorry, > Jan >