Răsfoiți Sursa

Remove/comment unused variables assignments

mingodad 13 ani în urmă
părinte
comite
ce2974a8eb
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      sqstdlib/sqstdaux.cpp

+ 2 - 2
sqstdlib/sqstdaux.cpp

@@ -12,7 +12,7 @@ void sqstd_printcallstack(HSQUIRRELVM v)
 		SQFloat f;
 		const SQChar *s;
 		SQInteger level=1; //1 is to skip this function that is level 0
-		const SQChar *name=0; 
+		const SQChar *name=0;
 		SQInteger seq=0;
 		pf(v,_SC("\nCALLSTACK\n"));
 		while(SQ_SUCCEEDED(sq_stackinfos(v,level,&si)))
@@ -24,7 +24,7 @@ void sqstd_printcallstack(HSQUIRRELVM v)
 			pf(v,_SC("%s:%d:0 *FUNCTION [%s()]\n"),src,si.line,fn);
 			level++;
 		}
-		level=0;
+		//level=0;
 		pf(v,_SC("\nLOCALS\n"));
 
 		for(level=0;level<10;level++){