summaryrefslogtreecommitdiff
path: root/lib/persistence.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-11-27 00:36:19 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-27 00:36:25 +0000
commit7827b06edf6a0629eb659540595c347965abfb88 (patch)
tree3b52612ae8f591f23e2b179fe817f4d4c948a7ce /lib/persistence.cpp
parentEnable all Jason Turner recommended warnings (diff)
downloadilt-7827b06edf6a0629eb659540595c347965abfb88.tar.bz2
ilt-7827b06edf6a0629eb659540595c347965abfb88.tar.xz
ilt-7827b06edf6a0629eb659540595c347965abfb88.zip
Fix up lots of static analyzer warnings
Diffstat (limited to 'lib/persistence.cpp')
-rw-r--r--lib/persistence.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/persistence.cpp b/lib/persistence.cpp
index 405c7ec..5338738 100644
--- a/lib/persistence.cpp
+++ b/lib/persistence.cpp
@@ -70,7 +70,7 @@ namespace Persistence {
PersistenceWrite::selHandler()
{
this->sel->write(out);
- };
+ }
void
PersistenceWrite::setType(const std::string_view tn, const Persistable * p)
@@ -97,7 +97,8 @@ namespace Persistence {
throw std::runtime_error("Unexpected bool");
}
- void Selection::setValue(std::nullptr_t)
+ void
+ Selection::setValue(std::nullptr_t)
{
throw std::runtime_error("Unexpected null");
}