diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-27 00:36:19 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-27 00:36:25 +0000 |
commit | 7827b06edf6a0629eb659540595c347965abfb88 (patch) | |
tree | 3b52612ae8f591f23e2b179fe817f4d4c948a7ce /lib/persistence.cpp | |
parent | Enable all Jason Turner recommended warnings (diff) | |
download | ilt-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.cpp | 5 |
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"); } |