Skip to content

Commit

Permalink
Fix in the most generic specialization in LibFFIFunctionMessageResolu…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
steve-s committed Jan 8, 2018
1 parent c0bef49 commit 106eee6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ protected Object genericExecute(LibFFIFunction receiver, Object[] args,
LibFFISignature signature = receiver.getSignature();
LibFFIType[] argTypes = signature.getArgTypes();

if (argTypes.length != args.length) {
throw ArityException.raise(argTypes.length, args.length);
}

NativeArgumentBuffer.Array buffer = signature.prepareBuffer();
int argIdx = 0;
for (int i = 0; i < argTypes.length; i++) {
Expand Down

0 comments on commit 106eee6

Please sign in to comment.