diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-29 22:46:34 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-29 22:46:34 +0000 |
commit | 4b16240b15a6137af2d240cbc69c5f89fce951cf (patch) | |
tree | beaec6422cafd55403972269455ab618e6669075 /gcc/objc | |
parent | 3c791c03ac7a881583815b9546391d4568972144 (diff) | |
download | gcc-4b16240b15a6137af2d240cbc69c5f89fce951cf.tar.gz |
* objc/objc-act.c (objc_init): Return immediately if filename
is NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55853 138bc75d-0d04-0410-961f-82ee72b054a4
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 f0a7170f131..42944a8341d 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 |