Skip to content

Commit bf4fff9

Browse files
committed
Remove redundant initialization
1 parent ecf63ce commit bf4fff9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/transaction.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ int Transaction::addRequestHeader(const std::string& key,
527527

528528
// find the first '='
529529
pos = c.find_first_of("=", 0);
530-
std::string ckey = "";
530+
std::string ckey;
531531
std::string cval = "";
532532

533533
// if the cookie doesn't contains '=', its just a key

0 commit comments

Comments
 (0)