diff options
author | dotdotisdead <dotdotisdead@a3eca27d-f21b-0410-9b4a-6511e771f64e> | 2006-09-25 07:20:48 +0000 |
---|---|---|
committer | dotdotisdead <dotdotisdead@a3eca27d-f21b-0410-9b4a-6511e771f64e> | 2006-09-25 07:20:48 +0000 |
commit | 1bd0bf97026c2f8ff6e80c7299f03a1470b2f2bd (patch) | |
tree | 7fb0c8cf8300d2a7c7e52d3f1fb2e1b17d69ee18 /xdelta3/xdelta3.h | |
parent | 485d0b54d205a6f91e4dba20b34c9e936646e04f (diff) |
Cleanups, working on the python module, which has assertion failures.
Diffstat (limited to 'xdelta3/xdelta3.h')
-rwxr-xr-x | xdelta3/xdelta3.h | 2 |
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, | |||
950 | static inline | 949 | static inline |
951 | void xd3_consume_output (xd3_stream *stream) | 950 | void 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 | ||