1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix warnings about an unused variables and implicit conversion (#10586)

This commit is contained in:
red-001 2020-11-12 20:05:47 +00:00 committed by GitHub
parent 68139a28eb
commit 8eb2cbac61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -21,7 +21,7 @@ GUIScrollBar::GUIScrollBar(IGUIEnvironment *environment, IGUIElement *parent, s3
is_horizontal(horizontal), is_auto_scaling(auto_scale),
dragged_by_slider(false), tray_clicked(false), scroll_pos(0),
draw_center(0), thumb_size(0), min_pos(0), max_pos(100), small_step(10),
large_step(50), last_change(0), drag_offset(0), page_size(100), border_size(0)
large_step(50), drag_offset(0), page_size(100), border_size(0)
{
refreshControls();
setNotClipped(false);

View file

@ -68,7 +68,6 @@ private:
s32 max_pos;
s32 small_step;
s32 large_step;
u32 last_change;
s32 drag_offset;
s32 page_size;
s32 border_size;