mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Avoid some gcc-4.1 compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22932 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
93f406d7fd
commit
546aa0c854
11 changed files with 49 additions and 39 deletions
|
@ -18,7 +18,8 @@
|
|||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
|
||||
<title>NSObject class reference</title>
|
||||
$Date$ $Revision$
|
||||
|
@ -1388,8 +1389,9 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
|
|||
format: @"%@ null selector given", NSStringFromSelector(_cmd)];
|
||||
|
||||
mth = GSGetMethod(self, aSelector, YES, YES);
|
||||
return mth ? [NSMethodSignature signatureWithObjCTypes:mth->method_types]
|
||||
: nil;
|
||||
if (mth == 0)
|
||||
return nil;
|
||||
return [NSMethodSignature signatureWithObjCTypes:mth->method_types];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2075,8 +2077,9 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
|
|||
format: @"%@ null selector given", NSStringFromSelector(_cmd)];
|
||||
|
||||
mth = GSGetMethod(self, aSelector, YES, YES);
|
||||
return mth ? [NSMethodSignature signatureWithObjCTypes:mth->method_types]
|
||||
: nil;
|
||||
if (mth == 0)
|
||||
return nil;
|
||||
return [NSMethodSignature signatureWithObjCTypes:mth->method_types];
|
||||
}
|
||||
|
||||
- (IMP) methodFor: (SEL)aSel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue