pull/216/head
Dibyendu Majumdar 3 years ago
parent 5c30d255c7
commit 88ccaf34a0

@ -1184,7 +1184,7 @@ static void constructor (LexState *ls, expdesc *t) {
static TString *user_defined_type_name(LexState *ls, TString *typename) {
size_t len = 0;
if (testnext(ls, '.')) {
char buffer[128] = { 0 };
char buffer[128] = {0};
const char *str = getstr(typename);
len = strlen(str);
if (len >= sizeof buffer) {

Loading…
Cancel
Save