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:
parent
ad12edc952
commit
0adc72feb8
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue