summaryrefslogtreecommitdiff
path: root/src/login/pam_systemd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-12 22:41:20 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-12 22:41:20 -0400
commit2ae4842b6c8b7c3445bceaa8bfc8d019a7d9edcd (patch)
treee3678f860ededb3c5658e3199ea386a5fb111065 /src/login/pam_systemd.c
parentc268628a20e684d6079de6e5da96c10429e6ed1e (diff)
pam_system: use (void) to silence coverity
CID #996284.
Diffstat (limited to 'src/login/pam_systemd.c')
-rw-r--r--src/login/pam_systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c
index cdd45acdad..1416701ee1 100644
--- a/src/login/pam_systemd.c
+++ b/src/login/pam_systemd.c
@@ -336,7 +336,7 @@ _public_ PAM_EXTERN int pam_sm_open_session(
/* If this fails vtnr will be 0, that's intended */
if (!isempty(cvtnr))
- safe_atou32(cvtnr, &vtnr);
+ (void) safe_atou32(cvtnr, &vtnr);
if (!isempty(display) && !vtnr) {
if (isempty(seat))