summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h4
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;
         }
     }