Imported Upstream version 2.6.0p2
[debian/amanda] / client-src / sendsize.c
index 97b28571ad5bcd7120effd66359b4ab13957a89b..4a335b7bdfb4a0ddf25d6ad5ea15666533d8219d 100644 (file)
@@ -1087,7 +1087,7 @@ getsize_dump(
     char       *disk,
     char       *amdevice,
     int                level,
-    option_t   *options,
+    option_t   *options G_GNUC_UNUSED,
     char      **errmsg)
 {
     int pipefd[2], nullfd, stdoutfd, killctl[2];
@@ -1112,10 +1112,6 @@ getsize_dump(
     int is_rundump = 1;
 #endif
 
-    (void)options;     /* Quiet unused parameter warning */
-
-    (void)getsize_smbtar;      /* Quiet unused parameter warning */
-
     g_snprintf(level_str, SIZEOF(level_str), "%d", level);
 
     device = amname_to_devname(amdevice);