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

Kronos
2004-02-02T20:08:54Z

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@kronoz.cjb.net
Home: http://kronoz.cjb.net
Recursion n.:
See Recursion.