From 605af0c461c26d19611ae7e456b6baddf91c6bc1 Mon Sep 17 00:00:00 2001 From: ymuv Date: Mon, 23 Jan 2017 01:10:59 +0200 Subject: Fix -Wsign-compare and control reaches end of non-void function --- src/TgTypeParser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/TgTypeParser.cpp') 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(object) != nullptr){ return parseInlineKeyboardMarkup(static_pointer_cast(object)); } + return ""; } InlineQuery::Ptr TgTypeParser::parseJsonAndGetInlineQuery(const boost::property_tree::ptree& data) const { -- cgit v1.2.3