From d8b7ca70144339473d2ed65dbb9b74282446263d Mon Sep 17 00:00:00 2001 From: Jade Mattsson Date: Wed, 27 Mar 2024 15:15:10 +1100 Subject: [PATCH] Address fatal compiler warning. Newer IDF toolchain is stricter, and we'd apparently failed to build test the Lua-5.1 path for some time. --- components/lua/lua-5.1/ldump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lua/lua-5.1/ldump.c b/components/lua/lua-5.1/ldump.c index 5ff5530f..7fe0efb4 100644 --- a/components/lua/lua-5.1/ldump.c +++ b/components/lua/lua-5.1/ldump.c @@ -178,7 +178,7 @@ static void DumpCode(const Proto *f, DumpState* D) static void DumpString(const TString* s, DumpState* D) { - if (s==NULL || getstr(s)==NULL) + if (s==NULL) { strsize_t size=0; DumpSize(size,D);