Skip to content

Commit 6fb4b36

Browse files
committed
Ignore 64-bit time_t warnings in PVS-Studio
Sudo is built with 64-bit time_t enabled where possible.
1 parent a5843ef commit 6fb4b36

17 files changed

Lines changed: 17 additions & 17 deletions

File tree

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ SPLINT_OPTS = -D__restrict= -checks
103103

104104
# Default PVS-studio options when run from the top-level Makefile
105105
PVS_CFG = $(top_builddir)/PVS-Studio.cfg
106-
PVS_IGNORE = 'V707,V011,V002,V536,V568'
106+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
107107
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
108108

109109
all: config.status

lib/eventlog/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SPLINT_OPTS = -D__restrict= -checks
7474

7575
# PVS-studio options
7676
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
77-
PVS_IGNORE = 'V707,V011,V002,V536'
77+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
7878
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
7979

8080
# Set to non-empty for development mode

lib/fuzzstub/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ SPLINT_OPTS = -D__restrict= -checks
7171

7272
# PVS-studio options
7373
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
74-
PVS_IGNORE = 'V707,V011,V002,V536'
74+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
7575
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
7676

7777
# Set to non-empty for development mode

lib/iolog/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SPLINT_OPTS = -D__restrict= -checks
7878

7979
# PVS-studio options
8080
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
81-
PVS_IGNORE = 'V707,V011,V002,V536'
81+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
8282
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
8383

8484
# Regression tests

lib/logsrv/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SPLINT_OPTS = -D__restrict= -checks
6767

6868
# PVS-studio options
6969
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
70-
PVS_IGNORE = 'V707,V011,V002,V536'
70+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
7171
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
7272

7373
# Set to non-empty for development mode

lib/protobuf-c/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ SPLINT_OPTS = -D__restrict= -checks
6464

6565
# PVS-studio options
6666
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
67-
PVS_IGNORE = 'V707,V011,V002,V536'
67+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
6868
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
6969

7070
# Set to non-empty for development mode

lib/ssl_compat/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SPLINT_OPTS = -D__restrict= -checks
6767

6868
# PVS-studio options
6969
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
70-
PVS_IGNORE = 'V707,V011,V002,V536'
70+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
7171
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
7272

7373
# Set to non-empty for development mode

lib/util/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ SPLINT_OPTS = -D__restrict= -checks
108108

109109
# PVS-studio options
110110
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
111-
PVS_IGNORE = 'V707,V011,V002,V536'
111+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
112112
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
113113

114114
# Regression tests

logsrvd/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ SPLINT_OPTS = -D__restrict= -checks
9090

9191
# PVS-studio options
9292
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
93-
PVS_IGNORE = 'V707,V011,V002,V536'
93+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
9494
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
9595

9696
# Where to install things...

plugins/audit_json/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SPLINT_OPTS = -D__restrict= -checks
7878

7979
# PVS-studio options
8080
PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
81-
PVS_IGNORE = 'V707,V011,V002,V536'
81+
PVS_IGNORE = 'V707,V011,V002,V536,V795'
8282
PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
8383

8484
# Where to install things...

0 commit comments

Comments
 (0)