diff options
Diffstat (limited to 'lib/crypto/c_src/info.c')
-rw-r--r-- | lib/crypto/c_src/info.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/crypto/c_src/info.c b/lib/crypto/c_src/info.c index 2411968b95..42f477fead 100644 --- a/lib/crypto/c_src/info.c +++ b/lib/crypto/c_src/info.c @@ -74,8 +74,7 @@ ERL_NIF_TERM info_lib(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) int ver_num; unsigned char *out_name, *out_ver; - if (argc != 0) - goto bad_arg; + ASSERT(argc == 0); name_sz = strlen(libname); ver = SSLeay_version(SSLEAY_VERSION); @@ -103,7 +102,6 @@ ERL_NIF_TERM info_lib(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) enif_make_int(env, ver_num), ver_term)); - bad_arg: err: return enif_make_badarg(env); } |