From owner-svn-src-head@freebsd.org Thu May 24 15:54:26 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67A29EF60FD for ; Thu, 24 May 2018 15:54:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED852744F1 for ; Thu, 24 May 2018 15:54:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x236.google.com with SMTP id c9-v6so2855060iob.12 for ; Thu, 24 May 2018 08:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3reEhnWYktJnAdYLfA28+t1S48hIlei8AnrPfqOWFK4=; b=MX/s2qybOgH4HTO3WaEdWFMb/vCYTk9HzaIpNrCEBubW56NiFI7pzXJfWx4j+5Losi kjuA8CHXZb4xF3IT6KAZo9NCfhZa5zVs44JZU9mSEu7ubSbD55Y8G1JLruLWHelzXD2k JM87c3DG7Cgqg/NAHKk3cCY8AA7SqdU37dWJ9oa6exKOsDrQVdSXMlADjV/6xNAoI7Tq nv9KuBj4DW89kHOCgRG86YNAy11E3/4DUEVxCa3fWmXz7zOVH7Az3kWjHaBJUOMJm52c bNzaYVDFdlavIOgPEF71iRC2SnLtrubVdYClUL8rzSZTksp7XoSZNa+ezr/PjA0cx1ZW EqKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3reEhnWYktJnAdYLfA28+t1S48hIlei8AnrPfqOWFK4=; b=rL2D9Kdh1veB3kQfC74s5P94xObJagjP5uQ0BBRvdNVOuAXYMBelxhIivSW7z4uMHy nrWY3aZgnz6ypXnrsbX84h5NNr0yKf/cFlXb4i8SA/hlFX7mQU17F8BLfOINzDKB82+y PzMFDHr59o46LUR1fwoYv8pU3TWzKFmLAoHgg1GbgpMJF8ilSQroTemESk5IYNjM0UdQ 2FMQ4FGWbQOW2U/yqOMvGA1073Xff0wFoL49XP+RqSW5VMzrn+4vUyfT082FioFQ9d7Q z6DFsGqdjWRGZu2yvy94iuClgC+4Z7eZQRXL9qgpZQVZoAXDtDfEx2wZQO4U6eBPze2Y 5Qpg== X-Gm-Message-State: ALKqPwdbhwg+zXD1EVdzJYpaiz5S8VQv6ONphZvG6xqZBffNAiMoCCA7 FeduzJ0j6Fwx5ydjXLEMjRAwkOz1ehUoczYqL9TY2g== X-Google-Smtp-Source: ADUXVKJAIrT4evpVkbxP+TOmS84Jv/QvwFgd059ZZvobYaoX/OCEvXXheLCZRSfYl22JdHcIcn0DqrKPIoFrhHIXGVk= X-Received: by 2002:a6b:df09:: with SMTP id w9-v6mr329482iog.168.1527177265078; Thu, 24 May 2018 08:54:25 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:d028:0:0:0:0:0 with HTTP; Thu, 24 May 2018 08:54:23 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <201805190510.w4J5AqfS054367@repo.freebsd.org> <20180523222743.GU71675@FreeBSD.org> <20180523225729.GV71675@FreeBSD.org> <20180524044252.GW71675@FreeBSD.org> <5B9EE208-384F-44AD-9B47-059D77FE9B34@macmic.franken.de> From: Warner Losh Date: Thu, 24 May 2018 09:54:23 -0600 X-Google-Sender-Auth: uQx4MnvPw2yxBW-gWJWrzzgHrRU Message-ID: Subject: Re: svn commit: r333860 - head/sys/kern To: Matthew Macy Cc: Michael Tuexen , Gleb Smirnoff , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 15:54:26 -0000 On Thu, May 24, 2018 at 12:36 AM, Matthew Macy wrote: > On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen > wrote: > >> On 24. May 2018, at 06:51, Matthew Macy wrote: > >> > >> Warnings find bugs PERIOD. Although most are not useful, I've found > > Some warnings indicate bugs, some warnings are just wrong. If you > > have a "may be used uninitialized" warning being a false positive, you > > may silences the warning by just set it to zero in the declaration and > > you silence it. Other compilers might then correctly report an > > assignment without affect... > > I have yet to see a double assignment be flagged as assignment without > effect. If it _does_ occur then we have to disable the warning on the > compiler that we have less faith in. > Coverity does exactly that. Warner