From 93099748e39740a3f6f003c83d9dec1d21660ce8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 1 Sep 2015 16:11:27 +0100 Subject: [PATCH] Minor --- src/hb-private.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/hb-private.hh b/src/hb-private.hh index ce92b727f..c08102946 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -866,15 +866,13 @@ hb_stable_sort (T *array, unsigned int len, int(*compar)(const T *, const T *), continue; /* Move item i to occupy place for item j, shift what's in between. */ { - T t; - t = array[i]; + T t = array[i]; memmove (&array[j + 1], &array[j], (i - j) * sizeof (T)); array[j] = t; } if (array2) { - T2 t; - t = array2[i]; + T2 t = array2[i]; memmove (&array2[j + 1], &array2[j], (i - j) * sizeof (T2)); array2[j] = t; }