aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-09-15 17:47:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-09-15 17:47:53 -0300
commit457bac94ce770682c140c971a4d1ec1638ca59cc (patch)
treee23a45a06479052be1c2d0f5173c21fe57d0fb60
parentbcf46ee83b7a62d571a8fcd93854b32f54d4348e (diff)
downloadlua-457bac94ce770682c140c971a4d1ec1638ca59cc.tar.gz
lua-457bac94ce770682c140c971a4d1ec1638ca59cc.tar.bz2
lua-457bac94ce770682c140c971a4d1ec1638ca59cc.zip
small corrections to avoid uninitialized global variables.
-rw-r--r--table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/table.c b/table.c
index 7f3bc2c0..be93d833 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.30 1995/05/16 17:23:58 roberto Exp celes $"; 6char *rcs_table="$Id: table.c,v 2.31 1995/05/16 19:23:55 celes Exp roberto $";
7 7
8#include <string.h> 8#include <string.h>
9 9
@@ -19,11 +19,11 @@ char *rcs_table="$Id: table.c,v 2.30 1995/05/16 17:23:58 roberto Exp celes $";
19 19
20#define BUFFER_BLOCK 256 20#define BUFFER_BLOCK 256
21 21
22Symbol *lua_table; 22Symbol *lua_table = NULL;
23static Word lua_ntable = 0; 23static Word lua_ntable = 0;
24static Long lua_maxsymbol = 0; 24static Long lua_maxsymbol = 0;
25 25
26TaggedString **lua_constant; 26TaggedString **lua_constant = NULL;
27static Word lua_nconstant = 0; 27static Word lua_nconstant = 0;
28static Long lua_maxconstant = 0; 28static Long lua_maxconstant = 0;
29 29