Fixed compilation problems that crept into the code.
[rsync/rsync-patches.git] / threaded-receiver.diff
index 18c3e2c..a3efda2 100644 (file)
@@ -58,7 +58,7 @@ After applying this patch, run these commands for a successful build:
        if (exit_code) /* Preserve first error code when recursing. */
                code = exit_code;
  
-@@ -162,8 +155,6 @@ NORETURN void _exit_cleanup(int code, co
+@@ -157,8 +150,6 @@ NORETURN void _exit_cleanup(int code, co
  
                if (cleanup_fname)
                        do_unlink(cleanup_fname);
@@ -719,7 +719,8 @@ After applying this patch, run these commands for a successful build:
        }
  }
  
- void io_flush(int flush_it_all)
+-void io_flush(int flush_it_all)
++void io_flush(UNUSED(int flush_it_all))
  {
 -      msg2genr_flush(flush_it_all);
 -      msg2sndr_flush();