]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
su: fix compiler warning [-Wunused-parameter]
authorKarel Zak <kzak@redhat.com>
Tue, 29 May 2012 09:01:23 +0000 (11:01 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 29 May 2012 09:01:23 +0000 (11:01 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su.c

index bbddea23d9096f607ccf8414a25058ba6b0612f9..96486c269ba5a95c3dc706ff1078ff397a2b484c 100644 (file)
@@ -195,7 +195,7 @@ cleanup_pam (int retcode)
 
 /* Signal handler for parent process.  */
 static void
-su_catch_sig (int sig)
+su_catch_sig (int sig __attribute__((__unused__)))
 {
   caught_signal = true;
 }