Commit 9c37957a by Richard Henderson Committed by Richard Henderson

* objc/Object.m (-error): Call objc_verror with our va_list.

From-SVN: r18167
parent e3c49f52
Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
* objc/Object.m (-error): Call objc_verror with our va_list.
Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* collect2.c (scan_prog_file): Completely cover uses of variable
......
......@@ -213,7 +213,7 @@ extern int errno;
}
}
if (parent = [self superClass])
if ((parent = [self superClass]))
return [parent conformsTo: aProtocol];
else
return NO;
......@@ -335,7 +335,7 @@ extern size_t strlen(const char*);
object_is_instance(self)?"instance":"class",
(aString!=NULL)?aString:"");
va_start(ap, aString);
objc_error(self, OBJC_ERR_UNKNOWN, fmt, ap);
objc_verror(self, OBJC_ERR_UNKNOWN, fmt, ap);
va_end(ap);
return nil;
#undef FMT
......
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