Diff between f357911cc309e57bcd8bbc9c003b5a254d9e09da and 50e1db3fd2bb0dc47af92239d175899243da2e7a

Changed Files

File Additions Deletions Status
src/shared/hfp.c +1 -1 modified

Full Patch

diff --git a/src/shared/hfp.c b/src/shared/hfp.c
index 2a09658..41eae74 100644
--- a/src/shared/hfp.c
+++ b/src/shared/hfp.c
@@ -520,7 +520,7 @@ static void process_input(struct hfp_gw *hfp)
 
 	handle_at_command(hfp, str);
 
-	len = ringbuf_drain(hfp->read_buf, count + 1);
+	ringbuf_drain(hfp->read_buf, count + 1);
 
 	if (free_ptr)
 		free(ptr);