[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Avoid one "parameter unused" warnings.
From: |
Michal Privoznik |
Subject: |
[PATCH] Avoid one "parameter unused" warnings. |
Date: |
Mon, 1 Jan 2018 10:18:49 +0100 |
* lib/stat-time.h (stat_time_normalize):
Mark "st" as used.
Signed-off-by: Michal Privoznik <address@hidden>
---
lib/stat-time.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/stat-time.h b/lib/stat-time.h
index 5f8bf4e12..11acbfb1f 100644
--- a/lib/stat-time.h
+++ b/lib/stat-time.h
@@ -244,6 +244,8 @@ stat_time_normalize (int result, struct stat *st)
}
}
#endif
+ /* Avoid a "parameter unused" warning. */
+ (void) st;
return result;
}
--
2.13.6
- [PATCH] Avoid one "parameter unused" warnings.,
Michal Privoznik <=
Re: [PATCH] Avoid one "parameter unused" warnings., Eric Blake, 2018/01/02