From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14694 invoked by alias); 25 May 2018 19:50:03 -0000 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 Received: (qmail 14672 invoked by uid 89); 25 May 2018 19:50:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.152.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 May 2018 19:50:00 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 6B35317A22 for ; Fri, 25 May 2018 14:49:59 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id MIitfYTvDkBj6MIitf45xh; Fri, 25 May 2018 14:49:59 -0500 X-Authority-Reason: nr=8 Received: from 174-29-44-154.hlrn.qwest.net ([174.29.44.154]:40384 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fMIis-001A1P-QQ; Fri, 25 May 2018 14:49:58 -0500 From: Tom Tromey To: Simon Marchi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA] Clear entire "location" in value constructor References: <20180410173704.21702-1-tom@tromey.com> <935d0c19b292f0793d89a2029f12cdc8@polymtl.ca> Date: Fri, 25 May 2018 21:46:00 -0000 In-Reply-To: <935d0c19b292f0793d89a2029f12cdc8@polymtl.ca> (Simon Marchi's message of "Fri, 25 May 2018 15:36:01 -0400") Message-ID: <87vabbzfa2.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fMIis-001A1P-QQ X-Source-Sender: 174-29-44-154.hlrn.qwest.net (bapiya) [174.29.44.154]:40384 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-05/txt/msg00702.txt.bz2 >>>>> "Simon" == Simon Marchi writes: Simon> Ah, I stumbled upon that code recently and wondered why only Simon> location.address was set. Either memset or {} is fine with me. Thanks. I think I will change it to {}, since that seems cleaner. Tom