Skip to contentSkip to conversation

mount.cifs: unused variables

PATCH In review Luk Claes 2 participants 2 messages May 19, 2012 – May 21, 2012 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Luk Claes

author
#0 lore raw

PATCH 1/1 mount.cifs: unused variables

---
 mount.cifs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mount.cifs.c +2 -2
index 2d1d842..a1b0454 100644
@@ -525,13 +525,13 @@ free_caps:
 }
 #else /* HAVE_LIBCAP */
 static int
-drop_capabilities(int parent)
+drop_capabilities(int parent __attribute((unused)))
 {
 	return 0;
 }
 
 static int
-toggle_dac_capability(int writable, int enable)
+toggle_dac_capability(int writable __attribute((unused)), int enable __attribute((unused)))
 {
 	return 0;
 }
Signature · 1 line
1.7.10

A message that is not in the archive (sent off-list or not yet received): 1337417534-14128-1-git-send-email-luk-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw
Quoted 14 lines · On Sat, 19 May 2012 10:52:14 +0200 Luk Claes…
---
 mount.cifs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mount.cifs.c +1 -1
index 2d1d842..a1b0454 100644
@@ -525,13 +525,13 @@ free_caps:
 }
 #else /* HAVE_LIBCAP */
 static int
-drop_capabilities(int parent)
+drop_capabilities(int parent __attribute((unused)))

mount.cifs.c free_caps: · line 537

Quoted 10 lines
mount.cifs.c +1 -1
 {
 	return 0;
 }
 
 static int
-toggle_dac_capability(int writable, int enable)
+toggle_dac_capability(int writable __attribute((unused)), int enable __attribute((unused)))
 {
 	return 0;
 }

Thanks, merged...

Signature · 1 line
Jeff Layton <[email protected]>