projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: readability-isolate-declaration
[geeqie.git]
/
src
/
collect.cc
diff --git
a/src/collect.cc
b/src/collect.cc
index
8a73598
..
0138d29
100644
(file)
--- a/
src/collect.cc
+++ b/
src/collect.cc
@@
-197,9
+197,12
@@
GList *collection_list_sort(GList *list, SortType method)
GList *collection_list_randomize(GList *list)
{
- guint random, length, i;
+ guint random;
+ guint length;
+ guint i;
gpointer tmp;
- GList *nlist, *olist;
+ GList *nlist;
+ GList *olist;
length = g_list_length(list);
if (!length) return nullptr;