From 5f7ad58f48c4565d2f30cbb2b76bc0cda5bdcdac Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Fri, 7 Mar 2014 09:33:32 +0000 Subject: [PATCH] [trunk] Remove self-assignement. Fixes issue 273 --- src/lib/openjp2/cio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/openjp2/cio.c b/src/lib/openjp2/cio.c index 062627f0..57d4ccd2 100644 --- a/src/lib/openjp2/cio.c +++ b/src/lib/openjp2/cio.c @@ -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 */