diff options
author | Chia-I Wu <[email protected]> | 2010-03-16 15:48:03 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-03-16 15:51:17 +0800 |
commit | e0ce4a4a0994211ead8e5a77cccdd2a084e8a288 (patch) | |
tree | b716bdab3961240c78750c8a90d2dc184747bfec /src | |
parent | 9d3a873f425fde83628b547c4b4638f39d78c1b9 (diff) |
i965g: Fix use of an uninitialized variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/drm/i965/gem/i965_drm_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/i965/gem/i965_drm_api.c b/src/gallium/winsys/drm/i965/gem/i965_drm_api.c index 2ebc05f47e0..c644eedcb31 100644 --- a/src/gallium/winsys/drm/i965/gem/i965_drm_api.c +++ b/src/gallium/winsys/drm/i965/gem/i965_drm_api.c @@ -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); |