X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-appinfo.cpp;fp=src%2Fhs-appinfo.cpp;h=9ccd66078cd3575caf071d3450e4571fae4ffa81;hb=b9969c45e5a2f01e672270fab1348c81b7ff3288;hp=6b222656eef23abc28114e7f2365310047983e92;hpb=ba57a371402f206f6b5d8ba0a416efe5daa2b125;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-appinfo.cpp b/src/hs-appinfo.cpp index 6b22265..9ccd660 100644 --- a/src/hs-appinfo.cpp +++ b/src/hs-appinfo.cpp @@ -418,12 +418,7 @@ std::string HS_AppInfo::id2appid(const std::string &id) const { std::string appid; std::size_t pos = id.find("@"); - if(pos != std::string::npos) { - appid = id.substr(0,pos); - } - else { - AFB_WARNING("input id error."); - } + appid = id.substr(0,pos); return appid; }