[Compile Regression in 2.4.25-pre8][PATCH 38/42]

From: Kronos
Date: Mon Feb 02 2004 - 15:15:23 EST



sstfb.c:971: warning: unused variable `i'

The var is used only for debugging.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/video/sstfb.c linux-2.4/drivers/video/sstfb.c
--- linux-2.4-vanilla/drivers/video/sstfb.c Fri Jun 13 16:51:37 2003
+++ linux-2.4/drivers/video/sstfb.c Sat Jan 31 20:39:27 2004
@@ -968,7 +968,9 @@
struct fb_info *info)
{
#define sst_info ((struct sstfb_info *) info)
+#if (SST_DEBUG_VAR >0)
int i;
+#endif
u_long p;
u32 tmp, val;
u32 fbiinit0;

--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
Recursion n.:
See Recursion.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/