diff options
author | Sverker Eriksson <[email protected]> | 2019-04-05 19:26:15 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-04-12 18:28:29 +0200 |
commit | a78bf4550d8bba67672624b73841c83614dd3db0 (patch) | |
tree | 45eeeed898d67e16d64c6db5df8fdcfe5ecc8005 /lib/erl_interface/test | |
parent | 7e064720c1363ee4ca4209d7c8b0f33a90182ce7 (diff) | |
download | otp-a78bf4550d8bba67672624b73841c83614dd3db0.tar.gz otp-a78bf4550d8bba67672624b73841c83614dd3db0.tar.bz2 otp-a78bf4550d8bba67672624b73841c83614dd3db0.zip |
erl_interface: Remove ei_get_type_internal()
same as ei_get_type()
Diffstat (limited to 'lib/erl_interface/test')
-rw-r--r-- | lib/erl_interface/test/ei_accept_SUITE_data/ei_accept_test.c | 3 | ||||
-rw-r--r-- | lib/erl_interface/test/ei_connect_SUITE_data/ei_connect_test.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/erl_interface/test/ei_accept_SUITE_data/ei_accept_test.c b/lib/erl_interface/test/ei_accept_SUITE_data/ei_accept_test.c index c209f506b1..d85b2d38c7 100644 --- a/lib/erl_interface/test/ei_accept_SUITE_data/ei_accept_test.c +++ b/lib/erl_interface/test/ei_accept_SUITE_data/ei_accept_test.c @@ -106,7 +106,6 @@ TESTCASE(interpret) static void cmd_ei_connect_init(char* buf, int len) { int index = 0, r = 0; - int type, size; long l; char b[100]; char cookie[MAXATOMLEN], * cp = cookie; @@ -114,8 +113,6 @@ static void cmd_ei_connect_init(char* buf, int len) if (ei_decode_long(buf, &index, &l) < 0) fail("expected int"); sprintf(b, "c%d", l); - /* FIXME don't use internal and maybe use skip?! */ - ei_get_type_internal(buf, &index, &type, &size); if (ei_decode_atom(buf, &index, cookie) < 0) fail("expected atom (cookie)"); if (cookie[0] == '\0') diff --git a/lib/erl_interface/test/ei_connect_SUITE_data/ei_connect_test.c b/lib/erl_interface/test/ei_connect_SUITE_data/ei_connect_test.c index 58c0c7f8d8..b002871ffe 100644 --- a/lib/erl_interface/test/ei_connect_SUITE_data/ei_connect_test.c +++ b/lib/erl_interface/test/ei_connect_SUITE_data/ei_connect_test.c @@ -107,7 +107,6 @@ TESTCASE(interpret) static void cmd_ei_connect_init(char* buf, int len) { int index = 0, r = 0; - int type, size; long l; char b[100]; char cookie[MAXATOMLEN], * cp = cookie; @@ -115,8 +114,6 @@ static void cmd_ei_connect_init(char* buf, int len) if (ei_decode_long(buf, &index, &l) < 0) fail("expected int"); sprintf(b, "c%ld", l); - /* FIXME don't use internal and maybe use skip?! */ - ei_get_type_internal(buf, &index, &type, &size); if (ei_decode_atom(buf, &index, cookie) < 0) fail("expected atom (cookie)"); if (cookie[0] == '\0') |