diff options
author | Brian Paul <[email protected]> | 2012-06-22 09:43:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-22 17:24:37 -0600 |
commit | fe68af6e0d30a2e1fb50ee7812149e1d17092039 (patch) | |
tree | 3787c2e2691b6ac13d79a48c2a2df33b3ac05e80 | |
parent | ea76f0331011337cc4b7caac8f25947501a5aef9 (diff) |
svga: init pointer to NULL to silence MSVC warning
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index 13df37fb2f6..c8562b2c5d6 100644 --- a/src/gallium/drivers/svga/svga_screen_cache.c +++ b/src/gallium/drivers/svga/svga_screen_cache.c @@ -167,7 +167,7 @@ svga_screen_cache_shrink(struct svga_screen *svgascreen, { struct svga_host_surface_cache *cache = &svgascreen->cache; struct svga_winsys_screen *sws = svgascreen->sws; - struct svga_host_surface_cache_entry *entry, *next_entry; + struct svga_host_surface_cache_entry *entry = NULL, *next_entry; /* Walk over the list of unused buffers in reverse order: from oldest * to newest. |