lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> You patch is ok, though, if you can't stand the warning. :-)

We'd better stand it. gcc (egcs-2.91.66) insists on the following warnings
for Lua 4.1:

  lvm.c: In function `luaV_execute':
  lvm.c:389: warning: `i' might be used uninitialized in this function
  lvm.c:390: warning: `ra' might be used uninitialized in this function

The offending lines are:

389      const Instruction i = *pc++;
390      const StkId ra = RA(i);

(The function has no gotos...)

-- Roberto