diff options
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r-- | src/Cache_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h index 2d6df140..a12cb43a 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h @@ -490,13 +490,13 @@ private: if (!eventsDb.get( txn, nlohmann::json::parse(data)["id"].get<std::string>(), value)) return std::nullopt; - } catch (std::exception &e) { + } catch (std::exception &) { return std::nullopt; } } return nlohmann::json::parse(value).get<mtx::events::StateEvent<T>>(); - } catch (std::exception &e) { + } catch (std::exception &) { return std::nullopt; } } |