mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
some never read compil warning fixes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d9fbd5378
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-24 (Sun, 24 Apr 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -128,7 +128,7 @@ void CComponentsScrollBar::initSegments()
|
||||
{
|
||||
//init dimensions for segments
|
||||
int w_seg = width - 4*fr_thickness;
|
||||
int h_seg = height - (sb_segments_count-1)*append_y_offset;
|
||||
//never read int h_seg = height - (sb_segments_count-1)*append_y_offset;
|
||||
|
||||
//calculate height of segment container
|
||||
int h_seg_obj = height - 2*sb_up_obj->getHeight() - 3*append_y_offset;
|
||||
@@ -149,7 +149,7 @@ void CComponentsScrollBar::initSegments()
|
||||
|
||||
//set y position of 1st segment and set height of segments
|
||||
int y_seg = 1+ append_y_offset;
|
||||
h_seg = sb_segments_obj->getHeight()/sb_segments_count - append_y_offset;
|
||||
int h_seg = sb_segments_obj->getHeight()/sb_segments_count - append_y_offset;
|
||||
|
||||
//create and add segments to segment container
|
||||
for(u_int8_t i=0; i<sb_segments_count; i++){
|
||||
|
Reference in New Issue
Block a user