File tree 1 file changed +1
-4
lines changed
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_)
121
121
122
122
bool UniValue::setInt (uint64_t val_)
123
123
{
124
- string s;
125
124
ostringstream oss;
126
125
127
126
oss << val_;
@@ -131,7 +130,6 @@ bool UniValue::setInt(uint64_t val_)
131
130
132
131
bool UniValue::setInt (int64_t val_)
133
132
{
134
- string s;
135
133
ostringstream oss;
136
134
137
135
oss << val_;
@@ -141,7 +139,6 @@ bool UniValue::setInt(int64_t val_)
141
139
142
140
bool UniValue::setFloat (double val_)
143
141
{
144
- string s;
145
142
ostringstream oss;
146
143
147
144
oss << std::setprecision (16 ) << val_;
@@ -228,7 +225,7 @@ int UniValue::findKey(const std::string& key) const
228
225
bool UniValue::checkObject (const std::map<std::string,UniValue::VType>& t)
229
226
{
230
227
for (std::map<std::string,UniValue::VType>::const_iterator it = t.begin ();
231
- it != t.end (); it++ ) {
228
+ it != t.end (); ++it ) {
232
229
int idx = findKey (it->first );
233
230
if (idx < 0 )
234
231
return false ;
You can’t perform that action at this time.
0 commit comments