From 68e720d4a707a9ae1ca1f431d5ab9ee612b12b65 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Mon, 11 Jan 2021 13:57:17 -0800 Subject: [PATCH] Removed unreferenced variable --- meshcore/agentcore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/meshcore/agentcore.c b/meshcore/agentcore.c index 2e378eb..fda2578 100644 --- a/meshcore/agentcore.c +++ b/meshcore/agentcore.c @@ -1994,7 +1994,6 @@ char* MeshAgent_MakeAbsolutePathEx(char *basePath, char *localPath, int escapeBa if (escapeBackSlash != 0) { char *tmp = ILibString_Replace(ILibScratchPad2, strnlen_s(ILibScratchPad2, sizeof(ILibScratchPad2)), "\\", 1, "\\\\", 2); - size_t tmplen = strnlen_s(tmp, sizeof(ILibScratchPad2)); strcpy_s(ILibScratchPad2, sizeof(ILibScratchPad2), tmp); free(tmp); }