diff mbox

[2/4] mtab: add __attribute__((unused)) to unused variables

Message ID 1280259427-14617-3-git-send-email-jlayton@samba.org (mailing list archive)
State New, archived
Headers show

Commit Message

Jeff Layton July 27, 2010, 7:37 p.m. UTC
None
diff mbox

Patch

diff --git a/mtab.c b/mtab.c
index 70789bc..de1aabd 100644
--- a/mtab.c
+++ b/mtab.c
@@ -51,12 +51,12 @@  static int lockfile_fd = -1;
 static int signals_have_been_setup = 0;
 
 static void
-handler (int sig) {
+handler (int sig __attribute__((unused))) {
      exit(EX_USER);
 }
 
 static void
-setlkw_timeout (int sig) {
+setlkw_timeout (int sig __attribute__((unused))) {
      /* nothing, fcntl will fail anyway */
 }