lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 1ceec7437090bea4be7202b7f86e9d566e79f87f
parent 2a84c29bc33259cfc59e00956c953d235d3d8843
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu,  3 Jul 2008 11:24:42 -0300

useless test removed (pointed by lint)

Diffstat:
Mldump.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ldump.c b/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);