]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Remove self-assignement.
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 7 Mar 2014 09:33:32 +0000 (09:33 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 7 Mar 2014 09:33:32 +0000 (09:33 +0000)
Fixes issue 273

src/lib/openjp2/cio.c

index 062627f054f9b9edc84215b825048ad1fc190048..57d4ccd2619b8b61bff584733b3395294f4f91f2 100644 (file)
@@ -522,7 +522,6 @@ OPJ_OFF_T opj_stream_write_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_si
        if (! l_is_written) {
                p_stream->m_status |= opj_stream_e_error;
                p_stream->m_bytes_in_buffer = 0;
-               p_stream->m_current_data = p_stream->m_current_data;
                return (OPJ_OFF_T) -1;
        }
        /* then skip */