From 1f14169284f24742a3c5b5f1a4e3676b1208ce8f Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Mon, 12 Jun 2023 14:10:08 +0000 Subject: [PATCH] Apply #70: Fix warnings of unused variables. --- tools/src/http-debug-server.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/src/http-debug-server.c b/tools/src/http-debug-server.c index 222c1da..4897c4a 100644 --- a/tools/src/http-debug-server.c +++ b/tools/src/http-debug-server.c @@ -38,6 +38,9 @@ static void HexDump(size_t off, char *hexBuf , char *asciiBuf, void *args) { char *fmt; + + (void) args; + if (hexBuf && asciiBuf) { fmt = "%04lx: | %s | %s |"; @@ -56,6 +59,8 @@ TelodendriaMemoryHook(MemoryAction a, MemoryInfo * i, void *args) char *action; int err = 0; + (void) args; + switch (a) { case MEMORY_ALLOCATE: @@ -129,6 +134,7 @@ TestFunc(Array *path, void *argp) DbRef *ref; (void) args; + (void) path; Log(LOG_INFO, "%s %s", HttpRequestMethodToString(method), HttpRequestPath(cx));