chiark / gitweb /
xduplic-copier: Drop obsolete variable "ts_last".
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Nov 2016 13:24:13 +0000 (13:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Nov 2016 13:24:14 +0000 (13:24 +0000)
ad24e88eee84 (from cvs) "abolish daft stream burst thing" left this
now-unused variable behind.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cprogs/rcopy-repeatedly.c
debian/changelog

index 01a72186330a31ee3f70b23d006be70fa0a09edc..6468e80cfadfa7c273333b391ce2981a3c2481ab 100644 (file)
@@ -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;
index d6260fb9d635268b7f6d3dc51f64535d5d26fb2a..9ddbbbfef986601cdfc7854a5b672cee55ba7b88 100644 (file)
@@ -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.