Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6kuL-0004zR-FM for pgsql-bugs@arkaria.postgresql.org; Fri, 05 May 2017 21:37:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d6kuK-0003qU-V5 for pgsql-bugs@arkaria.postgresql.org; Fri, 05 May 2017 21:37:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d6kte-0002dX-IV for pgsql-bugs@postgresql.org; Fri, 05 May 2017 21:36:18 +0000 Received: from mail.aegee.org ([144.76.142.78]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6ktb-00031l-2m for pgsql-bugs@postgresql.org; Fri, 05 May 2017 21:36:17 +0000 Authentication-Results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov DKIM-Filter: OpenDKIM Filter v2.10.3 mail.aegee.org v45LbVFr030660 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096; t=1494020252; i=dkim+MSA-tls@aegee.org; r=y; bh=x1IgH/Ez/hNz5hDCsLhvtLdHNmC7dBm8/EC82giSsYw=; h=From:Subject:To:Date; b=A9ttHatcMnpqDaVW5XNmH6ZCfgvzeBF3x8SC7sM1I6FgfcUeYb83r2srhtBMNPUTT Y9hHECP8JkmYcvagJ/zigso6f9hX1xijTlAAGRzG5Cn7V56drYJsCJMOsVZeLrwPDi SyqKl+6jquKnsfBKaJdweilTUtIl0KZRpyeC4D71GyvreCGnE/TgdCdqsJnRSuMf8T 71haXLbp59SiPZnaTKcpWaRB8bKEqX9oYxAlnfE0ORw6XzwVDLotjWMpqUc2FB3dxG 7GEWE6EajUdPDkRiPmy+9Myry26pKh1hMbVuAauOqnyT94csEKyXrWckjwDRKZl/Oz NSMavGMnrIKtji08AB9j70TC4m8P5pNoMRGM11udUIIYbs44aAV1xkCCjJJxi3clfc rOAEUwd1/umzsM7M+D3rsx4vtIS6rismYn5qRVyVZ1PaMFJiAAaQSktERCXiCyzE9v G2+hJKQlXLehH6HC8ntpFhsgjBZpzh1nEKXjf/j1fN17deGEC6+lPHE5NirSeObd6K 33Bbm6Phd2kQfq2mTcb1XT10s3Llmigv3Q9OK3bTyZPcCFvDBgvi3TPkL3BXE9ofzZ OowZN1foBEQpWQBLtOW5aUvLM2htBMba3MoWQGeKtYF6I1ql47adlP3QJZJv7VRlkG FATHolXq6looF0Sk3PptpCvc= Authentication-Results: mail.aegee.org; dkim=none Received: from [192.168.178.39] (x5f74e467.dyn.telefonica.de [95.116.228.103]) (authenticated bits=0) by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id v45LbVFr030660 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 5 May 2017 21:37:31 GMT From: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= Subject: Postgresql and Clang Static Analyzer To: pgsql-bugs@postgresql.org Message-ID: Date: Fri, 5 May 2017 23:36:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.99.2 at mail.aegee.org X-Virus-Status: Clean X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hello, I compiled postgresql with PYTHON=/usr/local/bin/python3 scan-build ./configure --with-perl --with-tcl --with-gssapi --with-ldap --with-openssl --with-libxml --with-libxslt --with-systemd --with-python scan-build make and here are the results: https://mail.aegee.org/dpa/scan-build-pg-b3a47cdfd6/ Please note, that the information is only about what gets actually compiled, code disabled by #if .. #endif is not considered (e.g. when determining whether a variable assignment is useless). There are probably some false-positives. I used scan-build/clang 4.0. Enjoy Дилян -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs