intel: Init num_fences to clean up valgrind warning.

Valgrind doesn't know that a successful getparam sets the target of the
pointer, so just set the value beforehand.
This commit is contained in:
Eric Anholt 2009-07-01 17:08:16 -07:00
parent d1c8a0a308
commit cb4ef34214
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ intel_init_bufmgr(intelScreenPrivate *intelScreen)
GLboolean gem_supported;
struct drm_i915_getparam gp;
__DRIscreenPrivate *spriv = intelScreen->driScrnPriv;
int num_fences;
int num_fences = 0;
intelScreen->no_hw = getenv("INTEL_NO_HW") != NULL;