lua-users home
lua-l archive

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



The code is

  exit(luaL_opt_int(L, 1, EXIT_SUCCESS));
  return 0;  /* to avoid warnings */


I tried

return exit(luaL_opt_int(L, 1, EXIT_SUCCESS)), 0;

with gcc, and it doesn't warn. Somebody wants to try it with other compilers?

Ciao, Dolfi

--
Adolf Mathias              EMail: dolfi at zkm dot de  Web: www.zkm.de
|||| / |< |||                 ZKM Basic Research - Grundlagenforschung
P.B. 6919 D-76049 Karlsruhe, Germany; fon +49 721-8100-1002, fax -1139