From f51eff41cbef57f7983d836a1155c160989cca9e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 28 Jul 2014 12:45:22 -0600 Subject: PCM decoder: Fix a logic error in a DEBUG assertion --- nuttx/audio/pcm_decode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nuttx/audio') diff --git a/nuttx/audio/pcm_decode.c b/nuttx/audio/pcm_decode.c index b3ca6c525..63477451a 100644 --- a/nuttx/audio/pcm_decode.c +++ b/nuttx/audio/pcm_decode.c @@ -1284,8 +1284,7 @@ static void pcm_callback(FAR void *arg, uint16_t reason, { FAR struct pcm_decode_s *priv = (FAR struct pcm_decode_s *)arg; - - DEBUGASSERT(priv && apb && priv->export.upper); + DEBUGASSERT(priv && priv->export.upper); /* The buffer belongs to to an upper level. Just forward the event to * the next level up. -- cgit v1.2.3