From: Laurent Aimar Date: Fri, 3 Apr 2009 16:48:12 +0000 (+0200) Subject: Removed unused block_t->p_prev field. X-Git-Tag: 1.0.0-pre2~246 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2ebc21a48f9956c48f4111ed67b0e43fe5a52a48;p=vlc Removed unused block_t->p_prev field. --- diff --git a/include/vlc_block.h b/include/vlc_block.h index 6a9589f129..7b1d6d017d 100644 --- a/include/vlc_block.h +++ b/include/vlc_block.h @@ -95,7 +95,6 @@ typedef void (*block_free_t) (block_t *); struct block_t { block_t *p_next; - block_t *p_prev; uint32_t i_flags; diff --git a/src/misc/block.c b/src/misc/block.c index 3cb537581b..001ddf2c4b 100644 --- a/src/misc/block.c +++ b/src/misc/block.c @@ -57,7 +57,7 @@ static void BlockNoRelease( block_t *b ) void block_Init( block_t *restrict b, void *buf, size_t size ) { /* Fill all fields to their default */ - b->p_next = b->p_prev = NULL; + b->p_next = NULL; b->i_flags = 0; b->i_pts = b->i_dts = b->i_length = 0; b->i_rate = 0;