From e7c75d6b4a2b55ae601f1891fc39e41f61db9aa2 Mon Sep 17 00:00:00 2001 From: Zonghang Li Date: Mon, 30 Dec 2024 21:03:51 +0400 Subject: [PATCH] fix get device os error on linux --- common/profiler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/profiler.cpp b/common/profiler.cpp index 59ba32d9..b5f92fff 100644 --- a/common/profiler.cpp +++ b/common/profiler.cpp @@ -82,8 +82,6 @@ const char * device_os() { versionFile.close(); if (line.find("Android") != std::string::npos) { return "Android"; - } else { - return ""; } } return "Linux";