Fix assorted warnings, bump Cargo.lock

This commit is contained in:
Henrik Rydgård
2026-03-24 10:26:34 -06:00
parent 1c31db1b76
commit b8463b9203
4 changed files with 29 additions and 10 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ public:
bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override { return false; }
void Describe(char *buf, size_t size) const override { snprintf(buf, size, "ISOBlock"); }
std::shared_ptr<BlockDevice> GetBlockDevice() { return isoFileSystem_->GetBlockDevice(); }
std::shared_ptr<BlockDevice> GetBlockDevice() override { return isoFileSystem_->GetBlockDevice(); }
private:
std::shared_ptr<IFileSystem> isoFileSystem_;
+27 -5
View File
@@ -766,9 +766,9 @@ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
[[package]]
name = "iri-string"
version = "0.7.10"
version = "0.7.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c91338f0783edbd6195decb37bae672fd3b165faffb89bf7b9e6942f8b1a731a"
checksum = "d8e7418f59cc01c88316161279a7f665217ae316b388e58a0d10e29f54f1e5eb"
dependencies = [
"memchr",
"serde",
@@ -795,7 +795,7 @@ dependencies = [
"cesu8",
"cfg-if",
"combine",
"jni-sys",
"jni-sys 0.3.1",
"log",
"thiserror 1.0.69",
"walkdir",
@@ -804,9 +804,31 @@ dependencies = [
[[package]]
name = "jni-sys"
version = "0.3.0"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
dependencies = [
"jni-sys 0.4.1",
]
[[package]]
name = "jni-sys"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
dependencies = [
"jni-sys-macros",
]
[[package]]
name = "jni-sys-macros"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
dependencies = [
"quote",
"syn 2.0.117",
]
[[package]]
name = "jobserver"
+1 -1
View File
@@ -49,7 +49,7 @@ public:
*outEditValue_ = editValue_;
}
}
virtual bool CanComplete(DialogResult result) { return result == DR_OK ? !editValue_.empty() : true; }
virtual bool CanComplete(DialogResult result) override { return result == DR_OK ? !editValue_.empty() : true; }
const char *tag() const override { return "AdhocAddServerPopup"; }
-3
View File
@@ -300,9 +300,6 @@ void GameButton::Draw(UIContext &dc) {
if (down_) {
style = dc.GetTheme().itemDownStyle;
}
if (startsWith(ginfo->GetTitle(), "Nddemo")) {
style = style;
}
// Some types we just draw a default icon for.
ImageID imageIcon = ImageID::invalid();