Minor fixes for building with Clang

This commit is contained in:
Emma N. Skye 2025-11-28 14:45:47 +00:00
parent 09cff72e9e
commit 4ad32316df
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ class PkfsHookFile final : public HookFile {
: HookFile(path, norm_path)
{}
bool ramfs_demangle() {return false;};
bool ramfs_demangle() override {return false;};
uint32_t call_real() override {
log_if_modfile();

View File

@ -423,7 +423,7 @@ bool Texbin::add_or_replace_image(const char *image_name, const char *png_path)
}
void Texbin::debug() {
uint32_t total = 0;
[[maybe_unused]] uint32_t total = 0;
for(auto &[name, image] : images) {
[[maybe_unused]] auto [w,h] = image.peek_dimensions();
VLOG("file: %s len %d fmt %s dims(%d,%d)",