mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 09:31:07 +00:00
add last night's changes based on static analyser results.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b04641a6a8
commit
3b9be31642
20 changed files with 122 additions and 134 deletions
|
@ -399,16 +399,11 @@ _arg_addr(NSInvocation *inv, int index)
|
|||
*/
|
||||
- (void) getReturnValue: (void*)buffer
|
||||
{
|
||||
const char *type;
|
||||
|
||||
if (_validReturn == NO)
|
||||
{
|
||||
[NSException raise: NSGenericException
|
||||
format: @"getReturnValue with no value set"];
|
||||
}
|
||||
|
||||
type = [_sig methodReturnType];
|
||||
|
||||
if (*_inf[0].type != _C_VOID)
|
||||
{
|
||||
memcpy(buffer, _retval, _inf[0].size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue