From: Vinson Lee Date: Sat, 13 Jul 2013 06:56:06 +0000 (-0700) Subject: nvc0/ir: Initialize NVC0LegalizePostRA member variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74be77a99e1196d07ebd941aee24313f7aa123c9;p=mesa.git nvc0/ir: Initialize NVC0LegalizePostRA member variables. Fixes "Uninitialized pointer field" defects reported by Coverity. Signed-off-by: Vinson Lee --- diff --git a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp index 5734eda8ac9..251e49b8f41 100644 --- a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp +++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp @@ -162,7 +162,9 @@ private: }; NVC0LegalizePostRA::NVC0LegalizePostRA(const Program *prog) - : needTexBar(prog->getTarget()->getChipset() >= 0xe0) + : rZero(NULL), + carry(NULL), + needTexBar(prog->getTarget()->getChipset() >= 0xe0) { }