wma_afh.c: Remove condition which is always true.
[paraslash.git] / wma_afh.c
index af9ead7c451e941380ebf35144d133c6d520d3ea..0d543195151922a27e4f5d7a72749e26f0ad34cc 100644 (file)
--- 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;
 }