From 78c7e0c44c2686cf1b9f043297bdd51ce28d0192 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 5 Nov 2016 13:24:13 +0000 Subject: [PATCH] xduplic-copier: Drop obsolete variable "ts_last". ad24e88eee84 (from cvs) "abolish daft stream burst thing" left this now-unused variable behind. Signed-off-by: Ian Jackson --- cprogs/rcopy-repeatedly.c | 3 --- debian/changelog | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cprogs/rcopy-repeatedly.c b/cprogs/rcopy-repeatedly.c index 01a7218..6468e80 100644 --- a/cprogs/rcopy-repeatedly.c +++ b/cprogs/rcopy-repeatedly.c @@ -262,12 +262,9 @@ static void bandlimit_sendend(uint64_t bytes, int *interval_usec_update) { static void copyfile(FILE *sf, copyfile_die_fn *sdie, const char *sxi, FILE *df, copyfile_die_fn *ddie, const char *dxi, uint64_t lstart, int amsender) { - struct timespec ts_last; int now, r; uint64_t l=lstart, done=0; - ts_last= ts_sendstart; - while (l>0) { now= l < sizeof(mainbuf) ? l : sizeof(mainbuf); if (now > txblocksz) now= txblocksz; diff --git a/debian/changelog b/debian/changelog index d6260fb..9ddbbbf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,7 @@ chiark-utils (4.5.0~iwj5) unstable; urgency=medium * cgi-fcgi-interp: Handle QUERY_STRING not containing =. (Tony Finch.) * Fix tiny typo in long description. Closes:#819746. (Luke Faraone.) * Fix build repro by using gzip -n. Closes:#777300. (Chris Lamb.) + * xduplic-copier: Drop obsolete variable "ts_last". debian/rules file tidying: * Drop seddery for libgmp3c2 C++ ABI transition. -- 2.30.2