db/proxy: merge redundant string::push_back() calls
This commit is contained in:
parent
d9926a1c21
commit
546e7cafa4
|
@ -254,12 +254,10 @@ dquote(std::string &out, const char *in)
|
|||
case '\\':
|
||||
case '"':
|
||||
out.push_back('\\');
|
||||
out.push_back(*in);
|
||||
break;
|
||||
|
||||
default:
|
||||
out.push_back(*in);
|
||||
}
|
||||
|
||||
out.push_back(*in);
|
||||
}
|
||||
|
||||
out.push_back('"');
|
||||
|
|
Loading…
Reference in New Issue