i965g: Fix use of an uninitialized variable.

This commit is contained in:
Chia-I Wu 2010-03-16 15:48:03 +08:00
parent 9d3a873f42
commit e0ce4a4a09

View file

@ -110,7 +110,7 @@ struct drm_api i965_libdrm_api =
struct drm_api *
drm_api_create()
{
struct drm_api *api;
struct drm_api *api = NULL;
if (api == NULL && debug_get_bool_option("BRW_SOFTPIPE", FALSE))
api = sw_drm_api_create(&i965_libdrm_api);