diff options
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/rt_test.c | 5 | ||||
-rw-r--r-- | myisam/sp_test.c | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/myisam/rt_test.c b/myisam/rt_test.c index 5cf4262e804..b959c18806f 100644 --- a/myisam/rt_test.c +++ b/myisam/rt_test.c @@ -32,7 +32,7 @@ static void print_record(char * record,my_off_t offs,const char * tail); static int run_test(const char *filename); -int main(int argc __attribute__((unused)),char *argv[]) +int main(int argc __attribute__((unused)),char *argv[] __attribute__((unused))) { MY_INIT(argv[0]); exit(run_test("rt_test")); @@ -198,7 +198,6 @@ int run_test(const char *filename) } } -/* if (!silent) printf("- Updating rows with position\n"); @@ -226,8 +225,6 @@ int run_test(const char *filename) } } -*/ - if((error=read_with_pos(file,silent))) goto err; diff --git a/myisam/sp_test.c b/myisam/sp_test.c index b8b5880cf67..1a7c2785964 100644 --- a/myisam/sp_test.c +++ b/myisam/sp_test.c @@ -330,7 +330,8 @@ static void bprint_record(char * record, i=(unsigned char)record[0]; printf("%02X ",i); - for( pos=record+1, i=0; i<32; i++,pos++){ + for( pos=record+1, i=0; i<32; i++,pos++) + { int b=(unsigned char)*pos; printf("%02X",b); } |