depot/third_party/nixpkgs/pkgs/development/libraries/vrb/unused-but-set-variable.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

19 lines
545 B
Diff

--- a/vrb/src/bin/vbuf.c1 2011-06-13 22:14:24.000000000 +0200
+++ b/vrb/src/bin/vbuf.c 2011-06-13 22:14:43.000000000 +0200
@@ -426,7 +426,6 @@
int opt_progress ;
int output_fd ;
int poll_time ;
- int poll_num ;
int poll_write ;
int poll_read ;
@@ -861,7 +860,7 @@
poll_time = display_time - get_time_ms();
if ( poll_time < 0 ) poll_time = 0;
}
- poll_num = poll( poll_list, 2, poll_time );
+ poll( poll_list, 2, poll_time );
//-----------------------
// Check for poll events.