diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-21 14:42:59 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-21 18:35:50 +0200 |
commit | 1fa81ac5dc9259b7368e0487e0424c76bc87053e (patch) | |
tree | b3d86c45c5e68d724de21b103eeeb98cafd30a9c /lib/events | |
parent | 5d29c23eb82d440163afffe3fd8f7f600149fd64 (diff) | |
download | libquotient-1fa81ac5dc9259b7368e0487e0424c76bc87053e.tar.gz libquotient-1fa81ac5dc9259b7368e0487e0424c76bc87053e.zip |
Fix a few clang-tidy/GCC warnings
Diffstat (limited to 'lib/events')
-rw-r--r-- | lib/events/accountdataevents.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/accountdataevents.h b/lib/events/accountdataevents.h index ec2f64e3..24c3353c 100644 --- a/lib/events/accountdataevents.h +++ b/lib/events/accountdataevents.h @@ -32,7 +32,7 @@ struct JsonObjectConverter<TagRecord> { if (orderJv.isDouble()) rec.order = fromJson<float>(orderJv); if (orderJv.isString()) { - bool ok; + bool ok = false; rec.order = orderJv.toString().toFloat(&ok); if (!ok) rec.order = none; |