some never read compil warning fixes

This commit is contained in:
Jacek Jendrzej
2016-04-24 17:18:37 +02:00
parent a471b2af10
commit 0d9fbd5378
19 changed files with 19 additions and 38 deletions

View File

@@ -81,17 +81,13 @@ void CComponentsFrmChain::setDirection(int direction)
void CComponentsFrmChain::initChainItems()
{
//init required dimensions, preferred are current width and height
int w_tmp = width;
int h_tmp = height;
//exit if no item available
if (v_cc_items.empty())
return;
//set new values
w_tmp = append_x_offset;
h_tmp = append_y_offset;
int w_tmp = append_x_offset;
int h_tmp = append_y_offset;
for (size_t i= 0; i< v_cc_items.size(); i++){
int x_item = v_cc_items[i]->getXPos();