Commit 43badef3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

kate: Remove useless if

p_block is checked for nullity in all code path leading to ProcessPacket
parent cb96ac02
......@@ -647,8 +647,7 @@ static void *ProcessPacket( decoder_t *p_dec, kate_packet *p_kp,
{
subpicture_t *p_buf = DecodePacket( p_dec, p_kp, p_block );
if( p_block )
block_Release( p_block );
block_Release( p_block );
return p_buf;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment