summaryrefslogtreecommitdiff
path: root/libobjc/Object.m
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-21 14:36:37 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-21 14:36:37 +0000
commit94627e4fcc8264d6f8b7015b68d588c476d496fc (patch)
treed24924d0ab18e08862172b48ce646fbe00c762da /libobjc/Object.m
parentbb1fc1502131ff129e028f4199f5d0926735cfd1 (diff)
downloadgcc-94627e4fcc8264d6f8b7015b68d588c476d496fc.tar.gz
* Object.m (forward, read, write): Fix unused parameter warnings.
* encoding.c: Include <stdlib.h>. (target_flags): Mark with attribute unused. (atoi): Delete. * runtime.h (__objc_selector_max_index): Change to unsigned int. (__objc_generate_gc_type_description): Prototype. * selector.c (__objc_selector_max_index): Change to unsigned int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54884 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/Object.m')
-rw-r--r--libobjc/Object.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/libobjc/Object.m b/libobjc/Object.m
index fd14cb95b6a..1882754d605 100644
--- a/libobjc/Object.m
+++ b/libobjc/Object.m
@@ -1,5 +1,5 @@
/* The implementation of class Object for Objective-C.
- Copyright (C) 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1995, 1997, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -271,6 +271,7 @@ extern int errno;
- (retval_t)forward:(SEL)aSel :(arglist_t)argFrame
{
+ (void) argFrame; /* UNUSED */
return (retval_t)[self doesNotRecognize: aSel];
}
@@ -364,12 +365,14 @@ extern int errno;
- read: (TypedStream*)aStream
{
+ (void) aStream; /* UNUSED */
// [super read: aStream];
return self;
}
- write: (TypedStream*)aStream
{
+ (void) aStream; /* UNUSED */
// [super write: aStream];
return self;
}