diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-07-29 22:46:34 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-07-29 22:46:34 +0000 |
commit | 4307be72fc812b00f96291c655e1fad29ef8352f (patch) | |
tree | beaec6422cafd55403972269455ab618e6669075 /gcc/objc | |
parent | 6d4392353e94a9d9a6e66c1cb8e1aee3eb177e05 (diff) | |
download | gcc-4307be72fc812b00f96291c655e1fad29ef8352f.zip gcc-4307be72fc812b00f96291c655e1fad29ef8352f.tar.gz gcc-4307be72fc812b00f96291c655e1fad29ef8352f.tar.bz2 |
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
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index f0a7170..42944a8 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -464,6 +464,8 @@ objc_init (filename) const char *filename; { filename = c_objc_common_init (filename); + if (filename == NULL) + return filename; /* Force the line number back to 0; check_newline will have raised it to 1, which will make the builtin functions appear |