diff options
author | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2007-01-06 08:21:36 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2007-01-06 08:21:36 -0800 |
commit | 4c790f614ecba1f6468e51779cfaf0e36b6b17ad (patch) | |
tree | a2086e8c07ef25b1d3e6d69490886b82d2d24911 /src/i810_video.c | |
parent | 5a793b0dcf2d5de408b55073858fcfba6d99f994 (diff) |
More sparse cleanups:
NULL vs. 0
make some variables static
remove redundant variables
There are only a few sparse warnings left now: some bitfield warnings
and a few 'mixing code and declarations' warnings from the ring macros.
Diffstat (limited to 'src/i810_video.c')
-rw-r--r-- | src/i810_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i810_video.c b/src/i810_video.c index e65a7f6d..b3dc90e5 100644 --- a/src/i810_video.c +++ b/src/i810_video.c @@ -1301,7 +1301,7 @@ I810GetSurfaceAttribute( Atom attribute, INT32 *value ){ - return I810GetPortAttribute(pScrn, attribute, value, 0); + return I810GetPortAttribute(pScrn, attribute, value, NULL); } static int @@ -1310,7 +1310,7 @@ I810SetSurfaceAttribute( Atom attribute, INT32 value ){ - return I810SetPortAttribute(pScrn, attribute, value, 0); + return I810SetPortAttribute(pScrn, attribute, value, NULL); } |