diff options
author | unknown <serg@serg.mylan> | 2004-08-23 13:43:55 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-08-23 13:43:55 +0200 |
commit | 38b8c98543e68b3185a491b3cb9fb9d48662ef14 (patch) | |
tree | c29a131fe699498e1694486fc3769663c4a6d67b /myisammrg | |
parent | cb6dc5738cc41445725bbcb19ed33d45d1f5a48a (diff) | |
download | mariadb-git-38b8c98543e68b3185a491b3cb9fb9d48662ef14.tar.gz |
unnecessary LINT_INIT removed
Diffstat (limited to 'myisammrg')
-rw-r--r-- | myisammrg/myrg_open.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/myisammrg/myrg_open.c b/myisammrg/myrg_open.c index 2d6b6dcf167..4c6ffb98ad5 100644 --- a/myisammrg/myrg_open.c +++ b/myisammrg/myrg_open.c @@ -32,20 +32,16 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking) { - int save_errno,errpos; - uint files,i,dir_length,length,key_parts; + int save_errno,errpos=0; + uint files=0,i,dir_length,length,key_parts; ulonglong file_offset; char name_buff[FN_REFLEN*2],buff[FN_REFLEN],*end; - MYRG_INFO *m_info; + MYRG_INFO *m_info=0; File fd; IO_CACHE file; - MI_INFO *isam; + MI_INFO *isam=0; DBUG_ENTER("myrg_open"); - LINT_INIT(m_info); - m_info=0; - isam=0; - errpos=files=0; bzero((char*) &file,sizeof(file)); if ((fd=my_open(fn_format(name_buff,name,"",MYRG_NAME_EXT,4), O_RDONLY | O_SHARE,MYF(0))) < 0) |