From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#47080: 28.0.50; Spurious variable left uninitialized compiler warning Date: Fri, 12 Mar 2021 01:04:14 +0100 Message-ID: <87tuph6xvl.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21462"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Monnier To: 47080@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 12 01:05:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKVIk-0005SI-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 01:05:10 +0100 Original-Received: from localhost ([::1]:59444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKVIk-0007oU-2U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Mar 2021 19:05:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKVIc-0007nq-6a for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 19:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKVIb-00065W-Vc for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 19:05:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKVIb-0004OM-Pq for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 19:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 00:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47080 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161550746816835 (code B ref -1); Fri, 12 Mar 2021 00:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Mar 2021 00:04:28 +0000 Original-Received: from localhost ([127.0.0.1]:55408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKVI4-0004NT-5p for submit@debbugs.gnu.org; Thu, 11 Mar 2021 19:04:28 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:60958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKVI2-0004NL-01 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 19:04:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKVI1-0007gd-PX for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 19:04:25 -0500 Original-Received: from mout.web.de ([217.72.192.78]:38609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKVHz-0005jw-EC for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 19:04:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1615507457; bh=Z3gm14lSxWhx4BcBgNcMQs+uEl6HlJi7+KMjncwCL1U=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=cnKERB41a9/7hGF1GtrnGhF+b9W7b/v2L5dcYgLgEL5heMsYEa2HP29Rp7MIExFIG pxizCKVrJx8KRCady40x40X48NtZAHZlfIYQuk5WkuSzPKGCQJbAJwDLS1vb7BXpR+ ap4PBr56cmc2e99MN/KhweD8IIeyONzjux8ayNUA= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.220.60]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Ldn6l-1m23eN4471-00j4nl; Fri, 12 Mar 2021 01:04:17 +0100 X-Provags-ID: V03:K1:xVdT8TCrnmBUfSvQ+H99y3y8LkZavykErzjcAgy1LcdcS/Q3NwF mIOFc+Zx7Pfytq+hopMXCKShlXe62LHP9EOjl1ZUHvgzr9USbNCvA4W1bNFT5tNwmKkleof m59SoP6HRC+MGqw8subzmQmbzI30pBgLn1S2kEjQDd0VxSvpkS1Lxqug9/XRQGldvc66wVz +ERVyMVekuSxefk3jKxrA== X-UI-Out-Filterresults: notjunk:1;V03:K0:vDkiDZ5iWRU=:5b/zu9d/a7Lo9yq0Qu2344 QfjPbeI500+fXXFkudCcRXGO2eqZ52Js+pd+lCxRUDo4iyOgGTxDYEqOX7weYaxdyZ90v4qLw OH0wsUBkrYZx9zYqJl4cQKX0e3CNOBJLcNLO2El/9wLhMJRjInnOLL6P0uN6PUKDLB1kxzK7x SBqnx7iAucnQY4cfCjn8CHZeYnwAt7PiMfWDtAImgDIN+aBvd1e/47BDfY/ut8kPLoHMnOKsD KNoulXoMQWx8JOzUZDZjgO5M8d5z4m8dnYEiVhaSCV8LOqGcr90ULxkecKSK1S3e/PlyJxgs3 aE/weSqcHSqo0A8nhgXeBTSHtZviseJsh2B3EkDiXe4RcZ0ov7aVU+30G/cyTaJnu4d1nNPYu CJxV/UjGZJyiQthk2LvdLl8NwWB2yGltFcGvtF37m0TJit5JPR9z3KA1UaVQ1kH3b/hghgIJV r7Bsw8q4lVgKbJOtYeoHMsOr1TGnMkhZufXCMWeA4jFnI9DL+ckggZgyOb5FKVGYvNuuC7eFd AaJci7EjH+Th7B2MK3FJk4fN/9IDNOqr4IBb7nJ1GUPkOi26mbmHv1asLd9Qx8pXGhiHPS9bj ZEnfIh6mVohyVMgAERAWGv0fP9T+BMy+x3JE6vfvRG3J926UEHPyE0jvuACdhmfbi+yJcCQ7X j03dKA/4BlHfT2cOykqG3/a8cAu70f3orJeD9ZIyGsTxJmhjlgHaQLeh0vNUv5EUHlDAHct1f 8AKCbUA2i0KfVG0AAogGwqU+fAq+B68gqNvbI533JrrTEZOPMw10M4jPocQnZg+SlE887v21 Received-SPF: pass client-ip=217.72.192.78; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202105 Archived-At: Hello, here is the test case: #+begin_src emacs-lisp ;; -*- lexical-binding: t -*- (require 'pcase) (require 'find-func) ;not involved AFAICT, just funs used in example (defun my-find-function (function) (interactive (find-function-read)) (pcase (find-function-library function) ((or 'nil (and `(,_ . ,file) (guard (or (not (stringp file)) (string-match-p "\\.c$" file)))) (guard (not (find-definition-noselect function nil)))) (describe-function function)))) #+end_src Compiling gives me: | compile-test.el:6:1: Warning: Variable `file' left uninitialized | compile-test.el:6:1: Warning: Variable `file' left uninitialized TIA, Michael. In GNU Emacs 28.0.50 (build 8, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-03-12 built on drachen Repository revision: 69b952bcac5366df4cd37a7681318b29bc23e3c8 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB