diff options
author | unknown <bar@bar.mysql.r18.ru> | 2002-09-06 18:15:40 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2002-09-06 18:15:40 +0500 |
commit | c6d7ac6a938f97b3909c31dcaade8f8697cfd8fe (patch) | |
tree | c72a76b779fb5f98030a88e9a93d948b621f7bb1 /myisam/sp_test.c | |
parent | bceaa66b8f73db5f0ba6872ac52b526bb1381714 (diff) | |
download | mariadb-git-c6d7ac6a938f97b3909c31dcaade8f8697cfd8fe.tar.gz |
Some warning fixes
Diffstat (limited to 'myisam/sp_test.c')
-rw-r--r-- | myisam/sp_test.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/myisam/sp_test.c b/myisam/sp_test.c index 9d32b3e623d..4c267c08c14 100644 --- a/myisam/sp_test.c +++ b/myisam/sp_test.c @@ -41,7 +41,7 @@ static void rtree_PrintWKB(uchar *wkb, uint n_dims); static char blob_key[MAX_REC_LENGTH]; -int main(int argc,char *argv[]) +int main(int argc __attribute__((unused)),char *argv[] __attribute__((unused))) { MY_INIT(argv[0]); exit(run_test("sp_test")); @@ -320,14 +320,16 @@ static int read_with_pos (MI_INFO * file,int silent) } -static void bprint_record(char * record, my_off_t offs,const char * tail) +static void bprint_record(char * record, my_off_t offs __attribute__((unused)), + const char * tail) { int i; char * pos; 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); } |