diff options
author | Georgi Kodinov <joro@sun.com> | 2009-09-02 13:22:47 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-09-02 13:22:47 +0300 |
commit | 2193e124542b03eb487f32f29968b27ee20d797a (patch) | |
tree | ad2bd258297864f123c9991b895df5d1f0d69295 /mysys | |
parent | fec43a6320b03672e2f3bfe1659647f62dad098e (diff) | |
download | mariadb-git-2193e124542b03eb487f32f29968b27ee20d797a.tar.gz |
Fixed win32 compilation warnings
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_redel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_redel.c b/mysys/my_redel.c index c03d1bc7c25..6521253f949 100644 --- a/mysys/my_redel.c +++ b/mysys/my_redel.c @@ -76,7 +76,9 @@ end: int my_copystat(const char *from, const char *to, int MyFlags) { struct stat statbuf; +#if !defined(__WIN__) && !defined(__NETWARE__) int res; +#endif if (stat((char*) from, &statbuf)) { |