Hopefully fix compilatuion problem on alphas

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2001-07-07 04:45:38 +00:00
parent 14c68f4793
commit fb177fe538
2 changed files with 9 additions and 1 deletions

View file

@ -721,7 +721,12 @@ handle_printf_atsign (FILE *stream,
- (id) initWithFormat: (NSString*)format
locale: (NSDictionary*)locale
{
return [self initWithFormat: format locale: locale arguments: NULL];
va_list ap;
/*
* Dummy variable 'ap' is unused, but needs to be present because on
* some machines we can't just pass a null as a va_list
*/
return [self initWithFormat: format locale: locale arguments: ap];
}
- (id) initWithFormat: (NSString*)format