diff options
-rw-r--r-- | xdelta3/xdelta3-main.h | 9 | ||||
-rw-r--r-- | xdelta3/xdelta3.c | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 9a48af0..010b8cb 100644 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -2995,8 +2995,6 @@ main_getblk_lru (xd3_source *source, xoff_t blkno, main_blklru** blrup, int *is_ | |||
2995 | (*is_new) = 1; | 2995 | (*is_new) = 1; |
2996 | (*blrup) = blru; | 2996 | (*blrup) = blru; |
2997 | blru->blkno = blkno; | 2997 | blru->blkno = blkno; |
2998 | IF_DEBUG1 (DP(RINT "new lru blkno == %"Q"u (lru_size=%u)\n", | ||
2999 | blru->blkno, lru_size)); | ||
3000 | return 0; | 2998 | return 0; |
3001 | } | 2999 | } |
3002 | 3000 | ||
@@ -3057,11 +3055,6 @@ main_getblk_func (xd3_stream *stream, | |||
3057 | 3055 | ||
3058 | if (sfile->seek_failed || ret != 0) | 3056 | if (sfile->seek_failed || ret != 0) |
3059 | { | 3057 | { |
3060 | if (!sfile->seek_failed && option_verbose) | ||
3061 | { | ||
3062 | XPR(NT "unseekable source: skipping past unused input\n"); | ||
3063 | } | ||
3064 | |||
3065 | sfile->seek_failed = 1; | 3058 | sfile->seek_failed = 1; |
3066 | 3059 | ||
3067 | /* For an unseekable file (or other seek error, does it | 3060 | /* For an unseekable file (or other seek error, does it |
@@ -3070,8 +3063,6 @@ main_getblk_func (xd3_stream *stream, | |||
3070 | { | 3063 | { |
3071 | /* Could assert !IS_ENCODE(), this shouldn't happen | 3064 | /* Could assert !IS_ENCODE(), this shouldn't happen |
3072 | * because of do_not_lru during encode. */ | 3065 | * because of do_not_lru during encode. */ |
3073 | IF_DEBUG1 (DP(RINT "[getblk] cannot seek backwards blkno %"Q"u (do_not_lru %d)\n", | ||
3074 | blkno, do_not_lru)); | ||
3075 | stream->msg = "non-seekable source: copy is too far back (try raising -B)"; | 3066 | stream->msg = "non-seekable source: copy is too far back (try raising -B)"; |
3076 | return XD3_TOOFARBACK; | 3067 | return XD3_TOOFARBACK; |
3077 | } | 3068 | } |
diff --git a/xdelta3/xdelta3.c b/xdelta3/xdelta3.c index 0bbf338..734ae98 100644 --- a/xdelta3/xdelta3.c +++ b/xdelta3/xdelta3.c | |||
@@ -2518,7 +2518,6 @@ xd3_getblk (xd3_stream *stream, xoff_t blkno) | |||
2518 | ret = stream->getblk (stream, source, blkno); | 2518 | ret = stream->getblk (stream, source, blkno); |
2519 | if (ret != 0) | 2519 | if (ret != 0) |
2520 | { | 2520 | { |
2521 | stream->msg = "getblk failed"; | ||
2522 | return ret; | 2521 | return ret; |
2523 | } | 2522 | } |
2524 | } | 2523 | } |