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

Subject: dvbv5-zap: Always initialize status variable
Author:  Gregor Jasny <[email protected]>
Date:    Wed Apr 23 09:52:19 2014 +0200

In case of an early timeout it would be used uninitialized.

Detected by Coverity.

CC: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Gregor Jasny <[email protected]>

 utils/dvb/dvbv5-zap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=41b4a8ce4ce613455a79d3972023ecea92ff88e8

diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
index d7f9c5f..14e8fd9 100644
--- a/utils/dvb/dvbv5-zap.c
+++ b/utils/dvb/dvbv5-zap.c
@@ -385,7 +385,7 @@ static int check_frontend(struct arguments *args,
                          struct dvb_v5_fe_parms *parms)
 {
        int rc;
-       fe_status_t status;
+       fe_status_t status = 0;
        do {
                rc = dvb_fe_get_stats(parms);
                if (rc) {

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to