projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e160f
)
st/dri: fix warning: ‘bind’ may be used uninitialized in this function
author
Marek Olšák
<maraeo@gmail.com>
Sat, 12 Mar 2011 07:49:54 +0000
(08:49 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 12 Mar 2011 07:49:54 +0000
(08:49 +0100)
src/gallium/state_trackers/dri/drm/dri2.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index a5c94b4166b0de697cfec4db3395d683776af97e..30326a23d6cd09747edf365e45b781a755fa9598 100644
(file)
--- a/
src/gallium/state_trackers/dri/drm/dri2.c
+++ b/
src/gallium/state_trackers/dri/drm/dri2.c
@@
-270,7
+270,7
@@
dri2_allocate_buffer(__DRIscreen *sPriv,
struct pipe_resource templ;
enum st_attachment_type statt;
enum pipe_format pf;
- unsigned bind;
+ unsigned bind
= 0
;
struct winsys_handle whandle;
switch (attachment) {