Fixed. Thank you.
/ Martin Stjernholm, Roxen IS
Previous text:
2004-02-06 16:27: Subject: builtin.cmod: backtrace_frame->fill_in_file_and_line
Another compiler warning:
static void fill_in_file_and_line() { struct pike_string *file;
if (THIS->pc && THIS->prog) file = ... else if (THIS->fun.type == PIKE_T_FUNCTION) file = .... else if (THIS->prog) file = ...
if (!THIS->filename) THIS->filename = file; else free_string (file);
Compiler complains that file isn't initialized, and it isn't, if none the three tests is true.
/ Niels Möller (vässar rödpennan)