From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 5DFD13858CDA for ; Tue, 10 Jan 2023 01:17:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5DFD13858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673313427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lsw3MZVLil9DM9Z/INH+ZOWlnpHSp7tXfbZsOoU7B/s=; b=RSh3CkA6gaEYuACCFpp66olnXj+c1ILQL1+mF8AEavG2VrN6NoUlHkohsKqM0JZA7UN53l S6TiBAXQXFP0x1TYdGtMZUNJmpYs11gjyQ/d2WYYyae1TdJGDJJVpYhsHcWDXsE66NHGEu /nwOekxpHbk4WB9JfaDkPYc7uHAImuw= Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-138-u0qYVVekMuWCGiZWk-xSgQ-1; Mon, 09 Jan 2023 20:17:06 -0500 X-MC-Unique: u0qYVVekMuWCGiZWk-xSgQ-1 Received: by mail-pf1-f199.google.com with SMTP id cw8-20020a056a00450800b0058a3508303eso749439pfb.13 for ; Mon, 09 Jan 2023 17:17:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lsw3MZVLil9DM9Z/INH+ZOWlnpHSp7tXfbZsOoU7B/s=; b=kUu1whWxFCY5EiNxUyrcKMbr11tYju/PGHNlx8y812ZLZVzNWEwbPWADc9MHq0cXVa 1Yq5bK+fUnWEh+jdP9b9R+QVSFZPwVyjguVmFbWJxXs/b3EvqDOhZWpNtSo6dn4cNU1l cupXPLJ1zjeTyW53L+Ju70+OZiQ7uusb1WXVcsORYVgAcJOcnht18qCOgSjQoW+8PyJz BkGwohIC2ZdLepvzpu8YN06P9VGqrKiwNaUbR0PFf8digJKBWNWxJzUU4beoWtINxQYz pUFkXgm2rKTmyOZ/3tgEGQ/zK8cm6MbPPbiSp/xnV8EpHsvbj6VWzsvCE7kSM8MV9qJb KNww== X-Gm-Message-State: AFqh2koWAShrsecUe+C6vJ3zRupzuAqpLgFjPc8ZgLyMmnkpiXGTk0TA t4y3IpHSg/PKoGJmA+9QKMUqzr9Y5NUDlWBgctgtAhlsQ2EVVSO9zSxr4f3tyMvQ2qxZAohieJ5 +UqFIqyuWicLm+kDdZcOuPs94424FktW34PW9 X-Received: by 2002:aa7:982f:0:b0:583:319a:4409 with SMTP id q15-20020aa7982f000000b00583319a4409mr1304597pfl.27.1673313424864; Mon, 09 Jan 2023 17:17:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXu8E8TDoh98UZD3t0RMe5vW+ju8Y1x8wsAkB4MxojrlFC+nbpP+pwQY/l/MtVnAC6IJHwcvFBFQIpSYUbXp7K8= X-Received: by 2002:aa7:982f:0:b0:583:319a:4409 with SMTP id q15-20020aa7982f000000b00583319a4409mr1304594pfl.27.1673313424654; Mon, 09 Jan 2023 17:17:04 -0800 (PST) MIME-Version: 1.0 References: <20230107004941.589074-1-amerey@redhat.com> <87fscjab1t.fsf@tromey.com> In-Reply-To: <87fscjab1t.fsf@tromey.com> From: Aaron Merey Date: Mon, 9 Jan 2023 20:16:53 -0500 Message-ID: Subject: Re: [PATCH] gdb/linespec.c: Fix -Wmaybe-uninitialized warning To: Tom Tromey Cc: Aaron Merey via Gdb-patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Tom, On Mon, Jan 9, 2023 at 12:10 PM Tom Tromey wrote: > Thanks, this is ok. > I think normally we allow these little uninitialized warning fixes under > the obvious rule. Thanks, pushed as commit 2ff63a29b0b. Will push as obvious next time. Aaron