comparison th_file.c @ 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 18b7c2c9f838
children 4ca6a3b30fe8
comparison
equal deleted inserted replaced
687:5a7254b78614 688:a54298eef91a
158 { 158 {
159 char save, *path = th_strdup(cpath); 159 char save, *path = th_strdup(cpath);
160 size_t start = 0, end; 160 size_t start = 0, end;
161 BOOL res = FALSE; 161 BOOL res = FALSE;
162 162
163 #if defined(TH_PLAT_WINDOWS)
164 (void) mode;
165 #endif
166
163 // Start creating the directory stucture 167 // Start creating the directory stucture
164 do 168 do
165 { 169 {
166 // Split foremost path element out 170 // Split foremost path element out
167 for (save = 0, end = start; path[end] != 0; end++) 171 for (save = 0, end = start; path[end] != 0; end++)