nixpkgs/pkgs/development/libraries/vrb/unused-but-set-variable.patch

20 lines
545 B
Diff
Raw Normal View History

2017-10-22 14:06:34 +00:00
--- 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.