mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
compiler warning
This commit is contained in:
parent
6483b8457f
commit
a1834802c9
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ size_t my_pread(File Filedes, uchar *Buffer, size_t Count, my_off_t offset,
|
|||
myf MyFlags)
|
||||
{
|
||||
size_t readbytes;
|
||||
int error= 0, save_errno;
|
||||
int error= 0;
|
||||
#ifndef HAVE_PREAD
|
||||
int save_errno;
|
||||
#endif
|
||||
#ifndef DBUG_OFF
|
||||
char llbuf[22];
|
||||
DBUG_ENTER("my_pread");
|
||||
|
|
Loading…
Reference in a new issue