summaryrefslogtreecommitdiff
path: root/storage/heap/hp_test1.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_test1.c')
-rw-r--r--storage/heap/hp_test1.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/heap/hp_test1.c b/storage/heap/hp_test1.c
index 88eaf73f550..03054843c7e 100644
--- a/storage/heap/hp_test1.c
+++ b/storage/heap/hp_test1.c
@@ -30,7 +30,7 @@ static int flag=0,verbose=0,remove_ant=0,flags[50];
int main(int argc, char **argv)
{
- int i,j,error,deleted;
+ int i,j,error;
HP_INFO *file;
uchar record[128],key[32];
const char *filename;
@@ -62,7 +62,6 @@ int main(int argc, char **argv)
keyinfo[0].seg[0].null_bit= 0;
keyinfo[0].flag = HA_NOSAME;
- deleted=0;
bzero((uchar*) flags,sizeof(flags));
printf("- Creating heap-file\n");
@@ -110,8 +109,6 @@ int main(int argc, char **argv)
if (error || verbose)
printf("key: %s delete: %d my_errno: %d\n",(char*) key,error,my_errno);
flags[j]=0;
- if (! error)
- deleted++;
}
if (heap_check_heap(file,0))
{