1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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

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)