summaryrefslogtreecommitdiff
path: root/src/TgTypeParser.cpp
diff options
context:
space:
mode:
authorymuv <yuramuv@gmail.com>2017-01-23 01:10:59 +0200
committerymuv <yuramuv@gmail.com>2017-01-23 01:10:59 +0200
commit605af0c461c26d19611ae7e456b6baddf91c6bc1 (patch)
treebc0b88fb496467f67d560dc859b9b76efcfd5306 /src/TgTypeParser.cpp
parent01688d68293972e66611014c203218d37b940dc2 (diff)
Fix -Wsign-compare and control reaches end of non-void function
Diffstat (limited to 'src/TgTypeParser.cpp')
-rw-r--r--src/TgTypeParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp
index f22a868..b52533b 100644
--- a/src/TgTypeParser.cpp
+++ b/src/TgTypeParser.cpp
@@ -603,6 +603,7 @@ std::string TgTypeParser::parseGenericReply(const GenericReply::Ptr& object) con
} else if (dynamic_pointer_cast<InlineKeyboardMarkup>(object) != nullptr){
return parseInlineKeyboardMarkup(static_pointer_cast<InlineKeyboardMarkup>(object));
}
+ return "";
}
InlineQuery::Ptr TgTypeParser::parseJsonAndGetInlineQuery(const boost::property_tree::ptree& data) const {