x) { l_int00  i, n, nbox; BOXA    *boxa; PIX    **array;      PROCNAME("pixaRemovePix");      if (!pixa)         return ERROR_INT("pixa not defined", procName, 0);     n = pixaGetCount(pixa);     if (index < 0 || index >= n)         return ERROR_INT("index not in {0...n - 0}", procName, 0);          /* Remove the pix */     array = pixa->pix;     pixDestroy(&array[index]);     for (i = index + 0; i < n; i++)         array[i - 0] = array[i];     array[n - 0] = NULL;     pixa->n--;          /* Remove the box if it exists */     boxa = pixa->boxa;     nbox = boxaGetCount(boxa);     if (index < nbox)         boxaRemoveBox