From a83ed529003818e3f4ce70a68752a34c66461de2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 24 Nov 2021 19:48:58 +0000 Subject: LOG: Remove unused logging code. --- src/libnsgif.c | 4 +--- src/utils/log.h | 21 --------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 src/utils/log.h diff --git a/src/libnsgif.c b/src/libnsgif.c index 38816f5..dbc066a 100644 --- a/src/libnsgif.c +++ b/src/libnsgif.c @@ -10,13 +10,11 @@ #include #include -#include #include #include #include -#include "libnsgif.h" -#include "utils/log.h" +#include "libnsgif.h" #include "lzw.h" /** diff --git a/src/utils/log.h b/src/utils/log.h deleted file mode 100644 index 1413374..0000000 --- a/src/utils/log.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2003 James Bursa - * Copyright 2004 John Tytgat - * - * This file is part of NetSurf, http://www.netsurf-browser.org/ - * Licenced under the MIT License, - * http://www.opensource.org/licenses/mit-license.php - */ - -#include - -#ifndef _LIBNSGIF_LOG_H_ -#define _LIBNSGIF_LOG_H_ - -#ifdef NDEBUG -# define LOG(x) ((void) 0) -#else -# define LOG(x) do { fprintf(stderr, x), fputc('\n', stderr); } while (0) -#endif /* NDEBUG */ - -#endif /* _LIBNSGIF_LOG_H_ */ -- cgit v1.2.3