Commit 4307be72 by Neil Booth Committed by Neil Booth

objc-act.c (objc_init): Return immediately if filename is NULL.

	* objc/objc-act.c (objc_init): Return immediately if filename
	is NULL.

From-SVN: r55853
parent 6d439235
2002-07-30 Neil Booth <neil@daikokuya.co.uk>
* objc/objc-act.c (objc_init): Return immediately if filename
is NULL.
2002-07-29 Eric Christopher <echristo@redhat.com> 2002-07-29 Eric Christopher <echristo@redhat.com>
* config/mips/elf.h: Remove ecoff.h and gofast includes. * config/mips/elf.h: Remove ecoff.h and gofast includes.
......
...@@ -464,6 +464,8 @@ objc_init (filename) ...@@ -464,6 +464,8 @@ objc_init (filename)
const char *filename; const char *filename;
{ {
filename = c_objc_common_init (filename); filename = c_objc_common_init (filename);
if (filename == NULL)
return filename;
/* Force the line number back to 0; check_newline will have /* Force the line number back to 0; check_newline will have
raised it to 1, which will make the builtin functions appear raised it to 1, which will make the builtin functions appear
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment