diff options
author | Brian Paul <[email protected]> | 2017-10-03 13:55:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-10-03 14:33:00 -0600 |
commit | 33122e8a3db8a2e5a3d512e398ae2c96cf544af3 (patch) | |
tree | 447e8d56f8cd2b84432890a3d058ba8ad29fa92a /src/gallium/drivers/llvmpipe/lp_state_fs.c | |
parent | 42eb3052c3537fa9b8a8cbf683c38b30c6e90f1f (diff) |
llvmpipe: silence 'variable may be used uninitialized' warnings
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 9a43f01738b..05984b346e0 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -2777,7 +2777,7 @@ generate_variant(struct llvmpipe_context *lp, const struct lp_fragment_shader_variant_key *key) { struct lp_fragment_shader_variant *variant; - const struct util_format_description *cbuf0_format_desc; + const struct util_format_description *cbuf0_format_desc = NULL; boolean fullcolormask; char module_name[64]; |