Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions http/HttpMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ int64_t HttpMessage::Get(const char* key, int64_t defvalue) {
auto iter = json.find(key);
if (iter != json.end()) {
switch (iter->type()) {
return *iter;
case value_t::boolean:
{
bool b = *iter;
Expand Down Expand Up @@ -118,7 +117,6 @@ double HttpMessage::Get(const char* key, double defvalue) {
auto iter = json.find(key);
if (iter != json.end()) {
switch (iter->type()) {
return *iter;
case value_t::boolean:
{
bool b = *iter;
Expand Down Expand Up @@ -162,7 +160,6 @@ bool HttpMessage::Get(const char* key, bool defvalue) {
auto iter = json.find(key);
if (iter != json.end()) {
switch (iter->type()) {
return *iter;
case value_t::boolean:
{
bool b = *iter;
Expand Down