summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
authordotdotisdead <dotdotisdead@a3eca27d-f21b-0410-9b4a-6511e771f64e>2006-09-25 07:20:48 +0000
committerdotdotisdead <dotdotisdead@a3eca27d-f21b-0410-9b4a-6511e771f64e>2006-09-25 07:20:48 +0000
commit1bd0bf97026c2f8ff6e80c7299f03a1470b2f2bd (patch)
tree7fb0c8cf8300d2a7c7e52d3f1fb2e1b17d69ee18 /xdelta3/xdelta3.h
parent485d0b54d205a6f91e4dba20b34c9e936646e04f (diff)
Cleanups, working on the python module, which has assertion failures.
Diffstat (limited to 'xdelta3/xdelta3.h')
-rwxr-xr-xxdelta3/xdelta3.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index 90b2fd9..0f11854 100755
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -940,7 +940,6 @@ void xd3_avail_input (xd3_stream *stream,
940 * a stream->winsize buffer. This is to avoid an unwanted allocation. */ 940 * a stream->winsize buffer. This is to avoid an unwanted allocation. */
941 XD3_ASSERT (idata != NULL); 941 XD3_ASSERT (idata != NULL);
942 942
943 /* TODO: Should check for a call to xd3_avail_input in the wrong state. */
944 stream->next_in = idata; 943 stream->next_in = idata;
945 stream->avail_in = isize; 944 stream->avail_in = isize;
946} 945}
@@ -950,7 +949,6 @@ void xd3_avail_input (xd3_stream *stream,
950static inline 949static inline
951void xd3_consume_output (xd3_stream *stream) 950void xd3_consume_output (xd3_stream *stream)
952{ 951{
953 /* TODO: Is it correct to set avail_in = 0 here, then check == 0 in avail_in? */
954 stream->avail_out = 0; 952 stream->avail_out = 0;
955} 953}
956 954