aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_ioctl.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-05-10 18:10:32 +0000
committerKeith Whitwell <[email protected]>2005-05-10 18:10:32 +0000
commite57d5c47428313a846f587e02693fc4fb2e30dc6 (patch)
tree495443fcc79199ce14edd0a0968a42c13577a6d2 /src/mesa/drivers/dri/i915/intel_ioctl.c
parent5a5b4436cb71575884f76bc079156f77e30d72a7 (diff)
fix some valgrind complaints
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_ioctl.c b/src/mesa/drivers/dri/i915/intel_ioctl.c
index 9691627ebc3..83bb77f3851 100644
--- a/src/mesa/drivers/dri/i915/intel_ioctl.c
+++ b/src/mesa/drivers/dri/i915/intel_ioctl.c
@@ -45,7 +45,7 @@
static int intelEmitIrqLocked( intelContextPtr intel )
{
drmI830IrqEmit ie;
- int ret, seq;
+ int ret, seq = 0;
assert(((*(int *)intel->driHwLock) & ~DRM_LOCK_CONT) ==
(DRM_LOCK_HELD|intel->hHWContext));
@@ -398,7 +398,7 @@ void intelClear(GLcontext *ctx, GLbitfield mask, GLboolean all,
void *intelAllocateAGP( intelContextPtr intel, GLsizei size )
{
- int region_offset;
+ int region_offset = 0;
drmI830MemAlloc alloc;
int ret;