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: v4l2-ctl: remove unused variable total_v_lines
Author:  Hans Verkuil <[email protected]>
Date:    Fri Apr 3 13:37:16 2015 +0200

Fixes a compiler warning.

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

 utils/v4l2-ctl/v4l2-ctl-modes.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=76a92bece2cb3a0cae72298e711bf6f2d47e75fa

diff --git a/utils/v4l2-ctl/v4l2-ctl-modes.cpp 
b/utils/v4l2-ctl/v4l2-ctl-modes.cpp
index f8a3aea..c775bda 100644
--- a/utils/v4l2-ctl/v4l2-ctl-modes.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-modes.cpp
@@ -139,7 +139,6 @@ bool calc_cvt_modeline(int image_width, int image_height,
        int active_h_pixel;
        int active_v_lines;
        int total_h_pixel;
-       int total_v_lines;
 
        int h_blank;
        int v_blank;
@@ -223,7 +222,6 @@ bool calc_cvt_modeline(int image_width, int image_height,
 
                v_blank = v_sync_bp + CVT_MIN_V_PORCH_RND;
 
-               total_v_lines = active_v_lines + v_blank + interlace;
                total_h_pixel = active_h_pixel + h_blank;
 
                h_sync  = (total_h_pixel * CVT_HSYNC_PERCENT) / 100;
@@ -250,8 +248,6 @@ bool calc_cvt_modeline(int image_width, int image_height,
                if (vbi_lines < (CVT_RB_V_FPORCH + v_sync + CVT_MIN_V_BPORCH))
                        vbi_lines = CVT_RB_V_FPORCH + v_sync + CVT_MIN_V_BPORCH;
 
-               total_v_lines = active_v_lines + vbi_lines;
-
                total_h_pixel = active_h_pixel + CVT_RB_H_BLANK;
 
                h_blank = CVT_RB_H_BLANK;

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

Reply via email to