summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh MacDonald <josh.macdonald@gmail.com>2015-12-26 21:49:49 -0800
committerJosh MacDonald <josh.macdonald@gmail.com>2015-12-26 21:49:49 -0800
commitb5e039d536cbf750269eb5811076f613e9ee5980 (patch)
tree321b06a36b49e8e8cc009228759f8577df4efb58
parent24def2845b33800718d2b3f70b8cf575c42da918 (diff)
Unused did_seek var
-rw-r--r--xdelta3/xdelta3-blkcache.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xdelta3/xdelta3-blkcache.h b/xdelta3/xdelta3-blkcache.h
index 2102a58..f8fa8e2 100644
--- a/xdelta3/xdelta3-blkcache.h
+++ b/xdelta3/xdelta3-blkcache.h
@@ -471,7 +471,6 @@ main_getblk_func (xd3_stream *stream,
471 main_file *sfile = (main_file*) source->ioh; 471 main_file *sfile = (main_file*) source->ioh;
472 main_blklru *blru; 472 main_blklru *blru;
473 int is_new; 473 int is_new;
474 int did_seek = 0;
475 size_t nread = 0; 474 size_t nread = 0;
476 475
477 if (allow_fake_source) 476 if (allow_fake_source)
@@ -508,10 +507,6 @@ main_getblk_func (xd3_stream *stream,
508 { 507 {
509 return ret; 508 return ret;
510 } 509 }
511
512 /* Indicates that another call to main_getblk_lru() may be
513 * needed */
514 did_seek = 1;
515 } 510 }
516 511
517 XD3_ASSERT (sfile->source_position == pos); 512 XD3_ASSERT (sfile->source_position == pos);