summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hs-appinfo.cpp7
1 files changed, 1 insertions, 6 deletions
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;
}