From 1c97fb7e67584d22910127539ec5d19c7990e9ef Mon Sep 17 00:00:00 2001 From: rfm Date: Thu, 17 Sep 2009 08:52:03 +0000 Subject: [PATCH] fix typos git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28694 72102866-910b-0410-8b05-ffd578937521 --- Headers/Foundation/NSCache.h | 2 +- Source/Additions/GSMime.m | 2 +- Source/Additions/GSXML.m | 2 +- Source/GSFormat.m | 2 +- Source/NSDecimal.m | 2 +- Source/NSString.m | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Headers/Foundation/NSCache.h b/Headers/Foundation/NSCache.h index d60207ceb..82639d7f6 100644 --- a/Headers/Foundation/NSCache.h +++ b/Headers/Foundation/NSCache.h @@ -108,7 +108,7 @@ extern "C" { * advisory; caches may choose to disregard it temporarily or permanently. A * limit of 0 is used to indicate no limit; this is the default. */ -- (void) setCountLimit: (NSUInteger)lim;; +- (void) setCountLimit: (NSUInteger)lim; /** * Sets the delegate for this cache. The delegate will be notified when an diff --git a/Source/Additions/GSMime.m b/Source/Additions/GSMime.m index 211ab5435..84d613d73 100644 --- a/Source/Additions/GSMime.m +++ b/Source/Additions/GSMime.m @@ -493,7 +493,7 @@ wordData(NSString *word) */ if ([self atEnd] == YES && pos > 0) { - unsigned len = pos - 1;; + unsigned len = pos - 1; while (pos < 4) { diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m index ff4496d83..86722e9a6 100644 --- a/Source/Additions/GSXML.m +++ b/Source/Additions/GSXML.m @@ -2773,7 +2773,7 @@ startElementFunction(void *ctx, const unsigned char *name, dict = [NSMutableDictionary dictionary]; if (atts != NULL) { - int i = 0;; + int i = 0; while (atts[i] != NULL) { diff --git a/Source/GSFormat.m b/Source/GSFormat.m index c954cc488..9c60a6b6f 100644 --- a/Source/GSFormat.m +++ b/Source/GSFormat.m @@ -1416,7 +1416,7 @@ NSDictionary *locale) { int temp = width; width = prec; - PAD ('0');; + PAD ('0'); width = temp; } diff --git a/Source/NSDecimal.m b/Source/NSDecimal.m index 5088bf4cc..b5c6cb85d 100644 --- a/Source/NSDecimal.m +++ b/Source/NSDecimal.m @@ -330,7 +330,7 @@ GSDecimalRound(GSDecimal *result, int scale, NSRoundingMode mode) result->length++; } else - result->exponent++;; + result->exponent++; } } } diff --git a/Source/NSString.m b/Source/NSString.m index 42430a791..4a0e172de 100644 --- a/Source/NSString.m +++ b/Source/NSString.m @@ -1634,7 +1634,7 @@ handle_printf_atsign (FILE *stream, */ - (NSString*) substringToIndex: (NSUInteger)index { - return [self substringWithRange: ((NSRange){0,index})];; + return [self substringWithRange: ((NSRange){0,index})]; } /**