3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/vrb/unused-but-set-variable.patch
Bob van der Linden 380bb673d4 vrb: init at 0.5.1
2017-10-22 16:06:34 +02:00

20 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.