mirror of https://github.com/aseprite/aseprite.git
Fix warnings about unused var
build / build (Debug, macos-latest, lua, cli) (push) Waiting to run
Details
build / build (Debug, macos-latest, noscripts, cli) (push) Waiting to run
Details
build / build (Debug, ubuntu-latest, lua, cli) (push) Waiting to run
Details
build / build (Debug, ubuntu-latest, noscripts, cli) (push) Waiting to run
Details
build / build (Debug, windows-latest, lua, cli) (push) Waiting to run
Details
build / build (Debug, windows-latest, noscripts, cli) (push) Waiting to run
Details
build / build (RelWithDebInfo, macos-latest, lua, gui) (push) Waiting to run
Details
build / build (RelWithDebInfo, ubuntu-latest, lua, gui) (push) Waiting to run
Details
build / build (RelWithDebInfo, windows-latest, lua, gui) (push) Waiting to run
Details
build / build (Debug, macos-latest, lua, cli) (push) Waiting to run
Details
build / build (Debug, macos-latest, noscripts, cli) (push) Waiting to run
Details
build / build (Debug, ubuntu-latest, lua, cli) (push) Waiting to run
Details
build / build (Debug, ubuntu-latest, noscripts, cli) (push) Waiting to run
Details
build / build (Debug, windows-latest, lua, cli) (push) Waiting to run
Details
build / build (Debug, windows-latest, noscripts, cli) (push) Waiting to run
Details
build / build (RelWithDebInfo, macos-latest, lua, gui) (push) Waiting to run
Details
build / build (RelWithDebInfo, ubuntu-latest, lua, gui) (push) Waiting to run
Details
build / build (RelWithDebInfo, windows-latest, lua, gui) (push) Waiting to run
Details
This commit is contained in:
parent
2bc4f0582d
commit
8ff208d8d5
|
@ -221,7 +221,7 @@ int secure_os_remove(lua_State* L)
|
|||
base::remove_directory(absFilename);
|
||||
return file_result(L, true);
|
||||
}
|
||||
catch (std::exception& e) {
|
||||
catch (const std::exception&) {
|
||||
return file_result(L, false, EIO, absFilename);
|
||||
}
|
||||
}
|
||||
|
@ -229,7 +229,7 @@ int secure_os_remove(lua_State* L)
|
|||
try {
|
||||
base::delete_file(absFilename);
|
||||
}
|
||||
catch (std::exception& e) {
|
||||
catch (const std::exception&) {
|
||||
return file_result(L, false, EIO, absFilename);
|
||||
}
|
||||
|
||||
|
@ -261,7 +261,7 @@ int secure_os_rename(lua_State* L)
|
|||
base::move_file(absSourceFilename, absDestFilename);
|
||||
return file_result(L, true);
|
||||
}
|
||||
catch (std::exception& e) {
|
||||
catch (const std::exception&) {
|
||||
return file_result(L, false, EIO, absSourceFilename);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue