From ad8318e247dff18086afd81a92e527f876a3c0cb Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 13 Sep 2020 09:48:29 +0200 Subject: Commented unused function --- src/lib/ndpi_serializer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib') diff --git a/src/lib/ndpi_serializer.c b/src/lib/ndpi_serializer.c index c1c40bc56..a5f14fbe4 100644 --- a/src/lib/ndpi_serializer.c +++ b/src/lib/ndpi_serializer.c @@ -130,6 +130,7 @@ static int ndpi_json_string_escape(const char *src, int src_len, char *dst, int /* ********************************** */ +#if UNUSED /* * Similar to snprintf, this returns the number of bytes actually written * in any case (unlike snprintf which returns, if the output is truncated, @@ -151,6 +152,7 @@ static inline int ndpi_snappend(char *buf, size_t size, const char *fmt, ...) { return wlen; } +#endif /* ********************************** */ -- cgit v1.2.3