1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/vrb/unused-but-set-variable.patch

20 lines
545 B
Diff
Raw Normal View History

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