File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ bool UniValue::setNumStr(const string& val_)
121121
122122bool UniValue::setInt (uint64_t val_)
123123{
124- string s;
125124 ostringstream oss;
126125
127126 oss << val_;
@@ -131,7 +130,6 @@ bool UniValue::setInt(uint64_t val_)
131130
132131bool UniValue::setInt (int64_t val_)
133132{
134- string s;
135133 ostringstream oss;
136134
137135 oss << val_;
@@ -141,7 +139,6 @@ bool UniValue::setInt(int64_t val_)
141139
142140bool UniValue::setFloat (double val_)
143141{
144- string s;
145142 ostringstream oss;
146143
147144 oss << std::setprecision (16 ) << val_;
@@ -228,7 +225,7 @@ int UniValue::findKey(const std::string& key) const
228225bool UniValue::checkObject (const std::map<std::string,UniValue::VType>& t)
229226{
230227 for (std::map<std::string,UniValue::VType>::const_iterator it = t.begin ();
231- it != t.end (); it++ ) {
228+ it != t.end (); ++it ) {
232229 int idx = findKey (it->first );
233230 if (idx < 0 )
234231 return false ;
You can’t perform that action at this time.
0 commit comments