diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-02 16:38:04 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-02 16:38:04 -0300 |
commit | 74283a052e092d822091343dc236debf0aaf55cc (patch) | |
tree | 3c6e29d5a9d1f0a067dcdf4cca5b5747721aee89 /mysys/thr_lock.c | |
parent | 02de8f68a5a0fcf4ff9df6014b3c49a0cba9183d (diff) | |
parent | 93fb8bb23544a4b5b2a4a6e43e1c25d74ca9a6f0 (diff) | |
download | mariadb-git-74283a052e092d822091343dc236debf0aaf55cc.tar.gz |
Merge of mysql-5.1-bugteam into mysql-trunk-merge.
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r-- | mysys/thr_lock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c index cff1b9b9845..9d10ba1fb01 100644 --- a/mysys/thr_lock.c +++ b/mysys/thr_lock.c @@ -122,8 +122,7 @@ static int check_lock(struct st_lock_list *list, const char* lock_type, { THR_LOCK_DATA *data,**prev; uint count=0; - THR_LOCK_OWNER *first_owner; - LINT_INIT(first_owner); + THR_LOCK_OWNER *UNINIT_VAR(first_owner); prev= &list->data; if (list->data) |