From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#33314: 27.0.50; wrong compiler warning Date: Thu, 8 Nov 2018 15:38:53 +0100 Message-ID: <7ec0dc92-8e02-2060-3ca8-234ac3d7440e@online.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541688173 9640 195.159.176.226 (8 Nov 2018 14:42:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 14:42:53 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: 33314@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 08 15:42:49 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKlWC-0002Nt-Se for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 15:42:48 +0100 Original-Received: from localhost ([::1]:57146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKlYJ-0006U0-CU for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 09:44:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKlVg-0002LD-Vc for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:42:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKlVa-0002Hf-UX for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:42:16 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKlVS-0002B2-6L for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:42:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKlVS-0007GZ-13 for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Nov 2018 14:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33314 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154168811327913 (code B ref -1); Thu, 08 Nov 2018 14:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Nov 2018 14:41:53 +0000 Original-Received: from localhost ([127.0.0.1]:40430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKlVJ-0007G9-84 for submit@debbugs.gnu.org; Thu, 08 Nov 2018 09:41:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKlVH-0007Fw-VD for submit@debbugs.gnu.org; Thu, 08 Nov 2018 09:41:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKlVB-0001vp-RJ for submit@debbugs.gnu.org; Thu, 08 Nov 2018 09:41:46 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gKlV9-0001u4-Nx for submit@debbugs.gnu.org; Thu, 08 Nov 2018 09:41:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKlV5-0001UD-Cg for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:41:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKlN5-0001Yo-GM for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:33:29 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.131]:50523) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKlN3-0001Va-Fb for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 09:33:23 -0500 Original-Received: from [192.168.178.35] ([88.130.106.226]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LeDzp-1fiizB3BF7-00qDiY for ; Thu, 08 Nov 2018 15:33:17 +0100 Content-Language: en-US X-Provags-ID: V03:K1:VrZMB45Ko200otVrnzUuss1Es6rtGkSrJuumtnrXJOJQPm3JbRO qqgNawIruh2bdRgD9o8SnVsTCbakd3gD+LTUhwIQMzxWPPSVqD/qS0klOp5Vx2R5e6zm+wp hAZKJip30+gdVf2CQJzht1FcweuWygz6C+ARu913PIWEUucpDN3DnHxmM+NWFNtXO3pChnG P3Og8Zq/gC3lDcgYExpRA== X-UI-Out-Filterresults: notjunk:1;V01:K0:92ynM7Y0YOc=:3hSb+L+qhNYTC0hYsA03/Y mkCldPY5zjjEjUfrV6yfOtvO5jo5p2NLxBUi2onlzamANaS9dKnlKauSwN1HpEHgSIiQ6o/fd s4tkqaza4KkhgZ3tq3hsBbKgEXZkEDnFL3d73GquHt+b3lZsaIwRqjNMS8EcdsM4RrNMHpi+h K9Fq8q74m8jpk0xS3gPmb6xA9r/DEWw6i5LpPWR6vtprwBZZXqXgPUma8kr/ejnifa9pSuP0I g+MuxieR1v16HblWHkOZGIR6xkffwPbw3VhU+eWHpplXudyikwI51kxLkNrt5LEfDbaaNQRlW M3g8EX1PrTz+I68WD0hPEznyKscw5FLue6Ye/dBTuxuIdjyFIVi9Annsw9dJ+QSsc0oYCru5b gH9MH6qafz5EFMKvi8CRKCLeI+JLUUMMG2G1pn9WqclAEUmnJGKfwTGQO2rOBfsuYuATJBbtB vegjN7pIK8Xd7ElNAy9j1KEyxzclROvtkK5e2RWhjwZukX4qiJL5PZUZK5S7W1dt4udkMKPj/ 3WpdD8r3aM2lHTxSnFjlNcP77SN7UwwEemXk3hu0OHXGgTzDFotjk8bhEuF04bAYoxBE0WTIT V4WJdu+L7K2soFHJc0Y451Gvo8BU3MRorvHQZy/90lJFC6PYkd3BTPbDpxTrqPgmue/IyBG3d aLX0a/HPv+RkFYRXW/8HhqhkxCSVnCYBbIz0EbjNTyDc4aE/Yxfl0gRJR2TJlrNbXlTD8Nx7Z jaW6aVHHX0Js2a41vFqSRrcy3qdqGTi9mYbxd2DRz08TrAsCC4AsTBliPw/6fLX733I7GiNK X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152161 Archived-At: Get a compiler Warning: Unused lexical variable ‘regexp’ WRT a form like below: (defun foo (regexp &optional something) "..." (unless (bobp) (when (empty-line-p) (skip-chars-backward " \t\r\n\f")) (let* ((orig (point)) (regexpvalue (if (eq regexp 'py-clause-re) (symbol-value 'py-extended-block-or-clause-re) (symbol-value regexp))) ... ;; As visible, regexp is evaluated in last clause. Thanks, Andreas GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2018-10-13