changeset 688:a54298eef91a

th_mkdir_path() mode parameter is unused when compiling for Windows.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Mar 2020 20:55:43 +0200
parents 5a7254b78614
children 9c61834c191b
files th_file.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/th_file.c	Fri Mar 06 14:26:45 2020 +0200
+++ b/th_file.c	Fri Mar 06 20:55:43 2020 +0200
@@ -160,6 +160,10 @@
     size_t start = 0, end;
     BOOL res = FALSE;
 
+#if defined(TH_PLAT_WINDOWS)
+    (void) mode;
+#endif
+
     // Start creating the directory stucture
     do
     {