|
From: nicholas b. <da...@tr...> - 2001-11-08 16:49:26
|
fixes annoying compile warning about suggested parens around assignment
used as truth value in drivers/video/matrox/matroxfb_base.c:
--- drivers/video/matrox/matroxfb_base.c.orig Thu Nov 8 11:48:50 2001
+++ drivers/video/matrox/matroxfb_base.c Thu Nov 8 11:46:27 2001
@@ -2355,7 +2355,7 @@
if (!options || !*options)
return 0;
- while (this_opt = strsep(&options, ",")) {
+ while ( (this_opt = strsep(&options, ",")) ) {
if (!*this_opt) continue;
dprintk("matroxfb_setup: option %s\n", this_opt);
--
nicholas black (da...@tr...) head developer, trellis network security
"c has types for a reason. c++ improved the type system for a reason. perl
and php programs have run-time failures for a reason." - lkml
|