Cppcheck: Fixed most issued in rtgui/*
This commit is contained in:
@@ -559,7 +559,6 @@ void ThumbBrowserBase::arrangeFiles ()
|
||||
|
||||
int ct = 0;
|
||||
int currx = 0;
|
||||
int curry = 0;
|
||||
|
||||
while (ct < N) {
|
||||
// find widest item in the column
|
||||
@@ -571,7 +570,7 @@ void ThumbBrowserBase::arrangeFiles ()
|
||||
}
|
||||
|
||||
// arrange items in the column
|
||||
curry = 0;
|
||||
int curry = 0;
|
||||
|
||||
for (int i = 0; ct < N && i < numOfRows; i++, ct++) {
|
||||
while (ct < N && fd[ct]->filtered) {
|
||||
@@ -641,12 +640,11 @@ void ThumbBrowserBase::arrangeFiles ()
|
||||
|
||||
// arrange files
|
||||
int ct = 0;
|
||||
int currx = 0;
|
||||
int curry = 0;
|
||||
|
||||
while (ct < N) {
|
||||
// arrange items in the row
|
||||
currx = 0;
|
||||
int currx = 0;
|
||||
|
||||
for (int i = 0; ct < N && i < numOfCols; i++, ct++) {
|
||||
while (ct < N && fd[ct]->filtered) {
|
||||
|
Reference in New Issue
Block a user