diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 |
commit | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (patch) | |
tree | ce8982b6c0111f79791068de2c2d4c6ce3138a49 /app/bin/paths.c | |
parent | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff) |
New upstream version 5.2.2GAupstream/5.2.2GA
Diffstat (limited to 'app/bin/paths.c')
-rw-r--r-- | app/bin/paths.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/app/bin/paths.c b/app/bin/paths.c index 6c6bb10..4a95a8e 100644 --- a/app/bin/paths.c +++ b/app/bin/paths.c @@ -20,22 +20,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdlib.h> -#include <string.h> -#include <assert.h> -#include <stdarg.h> - -#ifdef WINDOWS -#include <windows.h> -#endif - -#include <wlib.h> #include <dynstring.h> #include "track.h" #include "common.h" -#include "utility.h" #include "misc.h" -#include "i18n.h" #include "uthash.h" #include "paths.h" @@ -86,6 +74,10 @@ AddPath(const char *type, char*path) tableEntry = malloc(sizeof(struct pathTable)); DynStringMalloc(&tableEntry->path, 16); strcpy(tableEntry->type, type); +#ifdef WINDOWS +#pragma warning( disable : 4267) +#endif + // This generates warning C4267 on windows HASH_ADD_STR(paths, type, tableEntry); } |