some never read compil warning fixes

Origin commit data
------------------
Commit: 0d9fbd5378
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-24 (Sun, 24 Apr 2016)
This commit is contained in:
Jacek Jendrzej
2016-04-24 17:18:37 +02:00
parent 958e33ddd6
commit 1486711d16
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();