From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/bin/paths.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'app/bin/paths.c') 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 -#include -#include -#include - -#ifdef WINDOWS -#include -#endif - -#include #include #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); } -- cgit v1.2.3