Minor
diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh
index 5912924..24bc315 100644
--- a/src/hb-ot-layout-gsubgpos-private.hh
+++ b/src/hb-ot-layout-gsubgpos-private.hh
@@ -132,13 +132,12 @@
 				const void *match_data,
 				unsigned int *context_length_out)
 {
-  unsigned int i;
   unsigned int j = c->buffer->idx;
   unsigned int end = MIN (c->buffer->len, j + c->context_length);
   if (unlikely (j + count > end))
     return false;
 
-  for (i = 1; i < count; i++)
+  for (unsigned int i = 1; i < count; i++)
   {
     do
     {
@@ -187,11 +186,10 @@
 				    const void *match_data,
 				    unsigned int offset)
 {
-  unsigned int i;
   unsigned int j = c->buffer->idx + offset - 1;
   unsigned int end = MIN (c->buffer->len, c->buffer->idx + c->context_length);
 
-  for (i = 0; i < count; i++)
+  for (unsigned int i = 0; i < count; i++)
   {
     do
     {