diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2015-09-01 16:11:27 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-09-01 16:11:27 +0100 |
commit | 93099748e39740a3f6f003c83d9dec1d21660ce8 (patch) | |
tree | 6157498cc652e18f770569608dbfb9e132e23006 | |
parent | 85846b3de7491b6a07fed6a2c0c6c1b09943b249 (diff) | |
download | harfbuzz-93099748e39740a3f6f003c83d9dec1d21660ce8.tar.gz |
Minor
-rw-r--r-- | src/hb-private.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hb-private.hh b/src/hb-private.hh index ce92b727..c0810294 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; } |