Skip to content

Commit 39d8533

Browse files
fix compile warning
1 parent 339fde5 commit 39d8533

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

keychain_lib/include/keychain_lib/keychain_commands.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,13 @@ struct keychain_command<CMD_LIST>: keychain_command_base {
345345
auto first = bfs::directory_iterator(bfs::path("./"));
346346
std::for_each(first, bfs::directory_iterator(), [&keyname_list](bfs::directory_entry &unit){
347347
if (!bfs::is_regular_file(unit.status()))
348-
return false;
348+
return;
349349
const auto &file_path = unit.path().filename();
350350

351351
auto j_keyfile = open_keyfile(file_path.c_str());
352352
auto keyfile = j_keyfile.as<keyfile_format::keyfile_t>();
353353
keyname_list.push_back(fc::variant(std::move(keyfile.keyname)));
354+
return;
354355
});
355356
send_response(keyname_list, id);
356357
}

0 commit comments

Comments
 (0)