From: Andre Noll Date: Sun, 8 Jan 2017 17:05:31 +0000 (+0100) Subject: wma_afh.c: Remove condition which is always true. X-Git-Tag: v0.6.0~8^2~1 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=7df8a627b939337d5603fd0a37c4b0cd7b1910c3 wma_afh.c: Remove condition which is always true. The single caller of count_frames() never passes a NULL pointer. --- diff --git a/wma_afh.c b/wma_afh.c index af9ead7c..0d543195 100644 --- a/wma_afh.c +++ b/wma_afh.c @@ -38,8 +38,7 @@ static int count_frames(const char *buf, int buf_size, uint32_t packet_size, sfc++; } PARA_INFO_LOG("%d frames, %d superframes\n", fc, sfc); - if (num_superframes) - *num_superframes = sfc; + *num_superframes = sfc; return fc; }