projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad12edc
)
Silence a compiler warning on DOS-like systems.
author
Lasse Collin
<lasse.collin@tukaani.org>
Sat, 27 Jun 2009 07:02:24 +0000
(10:02 +0300)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Sat, 27 Jun 2009 07:02:24 +0000
(10:02 +0300)
src/xz/file_io.c
patch
|
blob
|
history
diff --git
a/src/xz/file_io.c
b/src/xz/file_io.c
index
3c3af0e
..
4c52da5
100644
(file)
--- a/
src/xz/file_io.c
+++ b/
src/xz/file_io.c
@@
-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)