From 546e7cafa4eba1dd8b4eccbec5a1c5a41b6b7ad2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 23:13:24 +0100 Subject: [PATCH] db/proxy: merge redundant string::push_back() calls --- src/db/UpnpDatabasePlugin.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx index baea8cb38..b746e28cb 100644 --- a/src/db/UpnpDatabasePlugin.cxx +++ b/src/db/UpnpDatabasePlugin.cxx @@ -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('"');