Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use a non-empty default case
  • Loading branch information
cotto committed Feb 20, 2013
1 parent f802b49 commit 031801c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ops/nqp_dyncall.ops
Expand Up @@ -1040,6 +1040,8 @@ inline op nqp_native_call(out PMC, invar PMC, invar PMC, invar PMC) :base_core {
case DYNCALL_ARG_CSTRUCT:
dyncall_wb_cs(interp, value);
break;
default: /* Noop to eliminate warning. */
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION, "Internal error: unhandled dyncall argument type");
}
}

Expand Down

0 comments on commit 031801c

Please sign in to comment.