projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea76f03
)
svga: init pointer to NULL to silence MSVC warning
author
Brian Paul
<brianp@vmware.com>
Fri, 22 Jun 2012 15:43:18 +0000
(09:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 22 Jun 2012 23:24:37 +0000
(17:24 -0600)
src/gallium/drivers/svga/svga_screen_cache.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen_cache.c
b/src/gallium/drivers/svga/svga_screen_cache.c
index 13df37fb2f612dc31d0e2d1e710adca785981521..c8562b2c5d63774bc527a6a95a80a78927771f3d 100644
(file)
--- 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.