diff options
author | Jeff Layton <jlayton@samba.org> | 2010-07-27 15:09:27 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2010-07-27 15:09:27 -0400 |
commit | fb5d150aec004111a838a015bdc1309a6e539925 (patch) | |
tree | 8aac661ec4a0f86947aeae3e54ac369bca25f770 /mtab.c | |
parent | 62369ecb38316bb285c5cc2f5af25aaa11cea15c (diff) | |
download | cifs-utils-fb5d150aec004111a838a015bdc1309a6e539925.tar.gz cifs-utils-fb5d150aec004111a838a015bdc1309a6e539925.tar.bz2 cifs-utils-fb5d150aec004111a838a015bdc1309a6e539925.zip |
mtab: add __attribute__((unused)) to unused variables
...to silence -Wextra warnings.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'mtab.c')
-rw-r--r-- | mtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ } |