Apply #70: Fix warnings of unused variables.

This commit is contained in:
Jordan Bancino 2023-06-12 14:10:08 +00:00
parent 2f946848cb
commit 1f14169284

View file

@ -38,6 +38,9 @@ static void
HexDump(size_t off, char *hexBuf , char *asciiBuf, void *args) HexDump(size_t off, char *hexBuf , char *asciiBuf, void *args)
{ {
char *fmt; char *fmt;
(void) args;
if (hexBuf && asciiBuf) if (hexBuf && asciiBuf)
{ {
fmt = "%04lx: | %s | %s |"; fmt = "%04lx: | %s | %s |";
@ -56,6 +59,8 @@ TelodendriaMemoryHook(MemoryAction a, MemoryInfo * i, void *args)
char *action; char *action;
int err = 0; int err = 0;
(void) args;
switch (a) switch (a)
{ {
case MEMORY_ALLOCATE: case MEMORY_ALLOCATE:
@ -129,6 +134,7 @@ TestFunc(Array *path, void *argp)
DbRef *ref; DbRef *ref;
(void) args; (void) args;
(void) path;
Log(LOG_INFO, "%s %s", HttpRequestMethodToString(method), Log(LOG_INFO, "%s %s", HttpRequestMethodToString(method),
HttpRequestPath(cx)); HttpRequestPath(cx));