This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: sn9c2028-decomp.c: fix 'set but not used' warning
Author:  Hans Verkuil <[email protected]>
Date:    Mon Sep 28 09:56:06 2026 +0200

'bits_eaten' was set, but never used. Drop it.

Signed-off-by: Hans Verkuil <[email protected]>

 lib/libv4lconvert/sn9c2028-decomp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=e807ce5cd00513f1416650a024faef1e0288ed7e
diff --git a/lib/libv4lconvert/sn9c2028-decomp.c 
b/lib/libv4lconvert/sn9c2028-decomp.c
index 716d12ab7a4f..4e299aa8ecf3 100644
--- a/lib/libv4lconvert/sn9c2028-decomp.c
+++ b/lib/libv4lconvert/sn9c2028-decomp.c
@@ -57,7 +57,7 @@
  * are NOT set to zero!
  */
 
-#define EAT_BITS(num) { bitBufCount -= num; bits_eaten += num; }
+#define EAT_BITS(num) { bitBufCount -= num; }
 
 /*
  * EAT_BITS consumes <num> bits (PEEK_BITS does not consume anything,
@@ -131,7 +131,6 @@ void v4lconvert_decode_sn9c2028(const unsigned char *src, 
unsigned char *dst,
        int x, y;
        unsigned long bitBuf = 0;
        unsigned long bitBufCount = 0;
-       unsigned long bits_eaten = 0;
 
        src += 12;    /* Remove the header */
 
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to