summaryrefslogtreecommitdiff
path: root/src/r128_dri.c
diff options
context:
space:
mode:
authorArkadiusz Miskiewicz <arekm@maven.pl>2007-12-11 23:53:03 -0500
committerAlex Deucher <alex@botch2.(none)>2007-12-11 23:53:03 -0500
commit9e5efdecd12092031a4aebce58747cb4a6f48f28 (patch)
tree7bbedb07924073099129f4499cb3b686cf92f692 /src/r128_dri.c
parentf3d2ec3a5ae61215c792018320158750e7aa937c (diff)
sparse fixes and cleanups from arekm
Diffstat (limited to 'src/r128_dri.c')
-rw-r--r--src/r128_dri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r128_dri.c b/src/r128_dri.c
index fc91421..edb77ba 100644
--- a/src/r128_dri.c
+++ b/src/r128_dri.c
@@ -80,9 +80,9 @@ static Bool R128InitVisualConfigs(ScreenPtr pScreen)
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
R128InfoPtr info = R128PTR(pScrn);
int numConfigs = 0;
- __GLXvisualConfig *pConfigs = 0;
- R128ConfigPrivPtr pR128Configs = 0;
- R128ConfigPrivPtr *pR128ConfigPtrs = 0;
+ __GLXvisualConfig *pConfigs = NULL;
+ R128ConfigPrivPtr pR128Configs = NULL;
+ R128ConfigPrivPtr *pR128ConfigPtrs = NULL;
int i, accum, stencil, db;
switch (info->CurrentLayout.pixel_code) {