diff options
author | Zandra <[email protected]> | 2016-05-26 08:31:48 +0200 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2016-06-07 14:33:05 +0200 |
commit | 5e2909783b5146bb813c109872f94d4b5a9f2dd4 (patch) | |
tree | 13cc92932a299d32f7cda28cf18b15088a47fb88 /lib/common_test/src/ct_util.erl | |
parent | e40fc2047fcb966be8292b765fb50c8d40d1d5f7 (diff) | |
download | otp-5e2909783b5146bb813c109872f94d4b5a9f2dd4.tar.gz otp-5e2909783b5146bb813c109872f94d4b5a9f2dd4.tar.bz2 otp-5e2909783b5146bb813c109872f94d4b5a9f2dd4.zip |
ct_config: Fix unmatched_return warnings
Diffstat (limited to 'lib/common_test/src/ct_util.erl')
-rw-r--r-- | lib/common_test/src/ct_util.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_util.erl b/lib/common_test/src/ct_util.erl index d5a8e3fbc0..e0e4fbb0d8 100644 --- a/lib/common_test/src/ct_util.erl +++ b/lib/common_test/src/ct_util.erl @@ -228,7 +228,8 @@ create_table(TableName,KeyPos) -> create_table(TableName,set,KeyPos). create_table(TableName,Type,KeyPos) -> catch ets:delete(TableName), - ets:new(TableName,[Type,named_table,public,{keypos,KeyPos}]). + _ = ets:new(TableName,[Type,named_table,public,{keypos,KeyPos}]), + ok. read_opts() -> case file:consult(ct_run:variables_file_name("./")) of |