diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-09-15 17:47:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-09-15 17:47:53 -0300 |
commit | 457bac94ce770682c140c971a4d1ec1638ca59cc (patch) | |
tree | e23a45a06479052be1c2d0f5173c21fe57d0fb60 | |
parent | bcf46ee83b7a62d571a8fcd93854b32f54d4348e (diff) | |
download | lua-457bac94ce770682c140c971a4d1ec1638ca59cc.tar.gz lua-457bac94ce770682c140c971a4d1ec1638ca59cc.tar.bz2 lua-457bac94ce770682c140c971a4d1ec1638ca59cc.zip |
small corrections to avoid uninitialized global variables.
-rw-r--r-- | table.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Module to control static tables | 3 | ** Module to control static tables |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_table="$Id: table.c,v 2.30 1995/05/16 17:23:58 roberto Exp celes $"; | 6 | char *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 | ||
22 | Symbol *lua_table; | 22 | Symbol *lua_table = NULL; |
23 | static Word lua_ntable = 0; | 23 | static Word lua_ntable = 0; |
24 | static Long lua_maxsymbol = 0; | 24 | static Long lua_maxsymbol = 0; |
25 | 25 | ||
26 | TaggedString **lua_constant; | 26 | TaggedString **lua_constant = NULL; |
27 | static Word lua_nconstant = 0; | 27 | static Word lua_nconstant = 0; |
28 | static Long lua_maxconstant = 0; | 28 | static Long lua_maxconstant = 0; |
29 | 29 | ||