Enabled and fixed compiler warnings. (#359)

This commit is contained in:
Ravin Perera
2022-01-28 16:03:34 +05:30
committed by GitHub
parent cf695af30b
commit 5cef95c9f6
28 changed files with 132 additions and 102 deletions

View File

@@ -197,7 +197,8 @@ int main(int argc, char **argv)
// Set HP process cwd to the contract directory. This will make both HP and contract process
// both have the same cwd.
chdir(conf::ctx.contract_dir.c_str());
if (chdir(conf::ctx.contract_dir.c_str()) != 0)
return -1;
hplog::init();