From 67cfd9f3cfd2c9beb8724b890cf5015858de027e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 16 Oct 2013 21:58:44 +0300 Subject: WaE: 'bValue' may be used uninitialized in this function Change-Id: I6fd6f679dd81707483c6834a4d4b2ca935f7c515 --- forms/source/component/CheckBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms/source/component/CheckBox.cxx') diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx index 9d352f08d382..5198ccc06a91 100644 --- a/forms/source/component/CheckBox.cxx +++ b/forms/source/component/CheckBox.cxx @@ -217,7 +217,7 @@ Any OCheckBoxModel::translateDbColumnToControlValue() ////////////////////////////////////////////////////////////////// // Set value in ControlModel - bool bValue; + bool bValue = false; if(DbUseBool()) { bValue = m_xColumn->getBoolean(); -- cgit