From 5e9a388ebde52f5a09b420e49899c9b74c681394 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 28 Jul 2014 12:45:22 -0600 Subject: [PATCH] PCM decoder: Fix a logic error in a DEBUG assertion --- audio/pcm_decode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/audio/pcm_decode.c b/audio/pcm_decode.c index b3ca6c525c..63477451ac 100644 --- a/audio/pcm_decode.c +++ b/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.