Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/videomode Mark potentially unused variables



details:   https://anonhg.NetBSD.org/src/rev/a5610a4f19fd
branches:  trunk
changeset: 790069:a5610a4f19fd
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 15:56:07 2013 +0000

description:
Mark potentially unused variables

diffstat:

 sys/dev/videomode/vesagtf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r b7fe2f2d2bc7 -r a5610a4f19fd sys/dev/videomode/vesagtf.c
--- a/sys/dev/videomode/vesagtf.c       Sun Sep 15 15:54:23 2013 +0000
+++ b/sys/dev/videomode/vesagtf.c       Sun Sep 15 15:56:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vesagtf.c,v 1.1 2006/05/11 01:49:53 gdamore Exp $ */
+/* $NetBSD: vesagtf.c,v 1.2 2013/09/15 15:56:07 martin Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -153,7 +153,7 @@
 #ifdef _KERNEL
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: vesagtf.c,v 1.1 2006/05/11 01:49:53 gdamore Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vesagtf.c,v 1.2 2013/09/15 15:56:07 martin Exp $");
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -226,12 +226,12 @@
     unsigned interlace;
     uint64_t h_period_est;
     unsigned vsync_plus_bp;
-    unsigned v_back_porch;
+    unsigned v_back_porch __unused;
     unsigned total_v_lines;
     uint64_t v_field_est;
     uint64_t h_period;
     unsigned v_field_rate;
-    unsigned v_frame_rate;
+    unsigned v_frame_rate __unused;
     unsigned left_margin;
     unsigned right_margin;
     unsigned total_active_pixels;



Home | Main Index | Thread Index | Old Index