diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-09-17 17:25:52 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-09-17 17:25:52 +0200 |
commit | d6ca0cbb23544e2e033f512f400a91ce6245a9a4 (patch) | |
tree | 0320f9cfba455c1d3cb00160205b3412461fffb3 /mysys/hash.c | |
parent | 2535ede7138cb4d1e8986d18b4154c377ba37f3f (diff) | |
parent | e5888b16afcef42e8127a815cc5a95abc283c6d9 (diff) | |
download | mariadb-git-d6ca0cbb23544e2e033f512f400a91ce6245a9a4.tar.gz |
Merge from 5.0
Diffstat (limited to 'mysys/hash.c')
-rw-r--r-- | mysys/hash.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/mysys/hash.c b/mysys/hash.c index 63933abb085..9c1957bf0aa 100644 --- a/mysys/hash.c +++ b/mysys/hash.c @@ -332,13 +332,8 @@ my_bool my_hash_insert(HASH *info, const uchar *record) { int flag; size_t idx,halfbuff,hash_nr,first_index; - uchar *ptr_to_rec,*ptr_to_rec2; - HASH_LINK *data,*empty,*gpos,*gpos2,*pos; - - LINT_INIT(gpos); - LINT_INIT(gpos2); - LINT_INIT(ptr_to_rec); - LINT_INIT(ptr_to_rec2); + uchar *UNINIT_VAR(ptr_to_rec),*UNINIT_VAR(ptr_to_rec2); + HASH_LINK *data,*empty,*UNINIT_VAR(gpos),*UNINIT_VAR(gpos2),*pos; if (HASH_UNIQUE & info->flags) { |