mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
useless test removed (pointed by lint)
This commit is contained in:
parent
2a84c29bc3
commit
1ceec74370
4
ldump.c
4
ldump.c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: ldump.c,v 2.8 2006/02/17 15:51:03 roberto Exp roberto $
|
||||
** $Id: ldump.c,v 2.9 2006/09/11 14:07:24 roberto Exp roberto $
|
||||
** save precompiled Lua chunks
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -60,7 +60,7 @@ static void DumpVector(const void* b, int n, size_t size, DumpState* D)
|
||||
|
||||
static void DumpString(const TString* s, DumpState* D)
|
||||
{
|
||||
if (s==NULL || getstr(s)==NULL)
|
||||
if (s==NULL)
|
||||
{
|
||||
size_t size=0;
|
||||
DumpVar(size,D);
|
||||
|
Loading…
x
Reference in New Issue
Block a user