git.samba.org
/
metze
/
cifs-utils
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62369ec
)
mtab: add __attribute__((unused)) to unused variables
author
Jeff Layton
<jlayton@samba.org>
Tue, 27 Jul 2010 19:09:27 +0000
(15:09 -0400)
committer
Jeff Layton
<jlayton@samba.org>
Tue, 27 Jul 2010 19:09:27 +0000
(15:09 -0400)
...to silence -Wextra warnings.
Signed-off-by: Jeff Layton <jlayton@samba.org>
mtab.c
patch
|
blob
|
history
diff --git
a/mtab.c
b/mtab.c
index 70789bcb9d87829319c7293bc28c08134f539b92..de1aabd6f87d71f5fbf7d37bb03a1222a25fb4a2 100644
(file)
--- 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 */
}