cppcheck.sh: Suppress getpw*Called, getgr*Called, remove ftimeCalled.

Add *_RELEASE_* defines to silence ConfigurationNotChecked.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5378 4ea69e1a-61f1-4043-bf83-b5c94c648137
pull/134/head
chrfranke 5 months ago
parent 5b368a6ef6
commit ad8a9f5ffa
  1. 3
      smartmontools/ChangeLog
  2. 9
      smartmontools/cppcheck.sh

@ -2,6 +2,9 @@ $Id$
2022-05-01 Christian Franke <franke@computer.org>
cppcheck.sh: Suppress getpw*Called, getgr*Called, remove ftimeCalled.
Add *_RELEASE_* defines to silence ConfigurationNotChecked.
configure.ac: Add URL to AC_INIT, remove PACKAGE_HOMEPAGE.
Require autoconf >= 2.64.
Replace PACKAGE_HOMEPAGE with PACKAGE_URL in all files.

@ -4,7 +4,7 @@
#
# Home page of code is: https://www.smartmontools.org
#
# Copyright (C) 2019-21 Christian Franke
# Copyright (C) 2019-22 Christian Franke
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
@ -76,7 +76,10 @@ sup_list="
#style
asctime_rCalled:utility.cpp
asctime_sCalled:utility.cpp
ftimeCalled
getgrgidCalled:popen_as_ugid.cpp
getgrnamCalled:popen_as_ugid.cpp
getpwnamCalled:popen_as_ugid.cpp
getpwuidCalled:popen_as_ugid.cpp
readdirCalled
strtokCalled
unusedStructMember
@ -105,6 +108,8 @@ defs="\
-DHAVE_ATTR_PACKED
-DHAVE_CONFIG_H
-DSG_IO=1
-DSMARTMONTOOLS_RELEASE_DATE=\"2022-02-28\"
-DSMARTMONTOOLS_RELEASE_TIME=\"16:33:40\"
-DSMARTMONTOOLS_SVN_REV=\"r1\"
-DSMARTMONTOOLS_ATTRIBUTELOG=\"/file\"
-DSMARTMONTOOLS_SAVESTATES=\"/file\"

Loading…
Cancel
Save