aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fog.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-13 13:44:31 -0600
committerBrian Paul <[email protected]>2009-08-13 13:44:31 -0600
commitf418d18ea6059c761f45f055c05fbd0bb50f7a80 (patch)
treeb4df9fb032128a187ff77089fcb6d9d86732bd5f /src/mesa/main/fog.c
parenta531a5cf940a55d4438521fe394ae5395977bf3f (diff)
mesa: fix some potential uninitialized memory references
Diffstat (limited to 'src/mesa/main/fog.c')
-rw-r--r--src/mesa/main/fog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fog.c b/src/mesa/main/fog.c
index 50a61bd84bf..4323d3db820 100644
--- a/src/mesa/main/fog.c
+++ b/src/mesa/main/fog.c
@@ -67,7 +67,7 @@ _mesa_Fogiv(GLenum pname, const GLint *params )
break;
default:
/* Error will be caught later in _mesa_Fogfv */
- ;
+ ASSIGN_4V(p, 0.0F, 0.0F, 0.0F, 0.0F);
}
_mesa_Fogfv(pname, p);
}