Fix mixed decls and code in timsort.h
diff --git a/timsort.h b/timsort.h
index 6772928..0c6346b 100644
--- a/timsort.h
+++ b/timsort.h
@@ -528,17 +528,17 @@
}
void TIM_SORT(SORT_TYPE *dst, const size_t size) {
- /* don't bother sorting an array of size 1 */
- if (size <= 1) {
- return;
- }
-
size_t minrun;
TEMP_STORAGE_T _store, *store;
TIM_SORT_RUN_T run_stack[TIM_SORT_STACK_SIZE];
size_t stack_curr = 0;
size_t curr = 0;
+ /* don't bother sorting an array of size 1 */
+ if (size <= 1) {
+ return;
+ }
+
if (size < 64) {
BINARY_INSERTION_SORT(dst, size);
return;