llvmpipe: (trivial) initialize src1_alpha var to NULL
authorRoland Scheidegger <sroland@vmware.com>
Fri, 15 Apr 2016 19:11:52 +0000 (21:11 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 15 Apr 2016 20:51:28 +0000 (22:51 +0200)
commit64d3ae09b72ee1052560c1704d628b433140e895
tree5a124756e014b6c72da9d95cd89b42ea36f31fca
parent1a100d4f2827cdfed67b563fba7ef2d9ea6a926b
llvmpipe: (trivial) initialize src1_alpha var to NULL

The blend code would do a conditional assignment based on it, causing valgrind
to complain. Since that variable was actually unused in this case, this
doesn't fix anything but the warning.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94955
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_fs.c