Silence a compiler warning on DOS-like systems.

This commit is contained in:
Lasse Collin 2009-06-27 10:02:24 +03:00
parent ad12edc952
commit 0adc72feb8
1 changed files with 4 additions and 1 deletions

View File

@ -73,8 +73,11 @@ io_init(void)
static void
io_unlink(const char *name, const struct stat *known_st)
{
#ifdef DOSLIKE
// On Windows, st_ino is meaningless, so don't bother testing it.
#ifndef DOSLIKE
// Just silence a compiler warning.
(void)known_st;
#else
struct stat new_st;
if (lstat(name, &new_st)