[Refactoring] Code cleanup and remove duplicate methods
[platform/core/dotnet/launcher.git] / NativeLauncher / tool / dotnettool.cc
index 628124c..eac0f2a 100644 (file)
@@ -401,10 +401,7 @@ int main(int argc, char* argv[])
        }
        //sh-3.2# dotnettool --resolve-all-app
        else if (cmd == "--resolve-all-app") {
-               int ret = resolveAllApps();
-               if (ret != 0) {
-                       _SERR("Failed to remove unused multi-targeting files");
-               }
+               resolveAllApps();
        }
        //sh-3.2# dotnettool --rm-app-profile [pkgId] [pkgId] ...
        else if (cmd == "--rm-app-profile") {