fixed Klocwork issue.
authorKyungwooNoh <kw1004.noh@samsung.com>
Thu, 10 Oct 2013 07:06:48 +0000 (16:06 +0900)
committerKyungwooNoh <kw1004.noh@samsung.com>
Thu, 10 Oct 2013 07:07:01 +0000 (16:07 +0900)
Change-Id: I8017dbf58de2bce6da7772349d2553e07e8e0693
Signed-off-by: KyungwooNoh <kw1004.noh@samsung.com>
inc/FApp_ContextManager.h
src/FApp_ContextManager.cpp

index c662f3a..dd2b014 100644 (file)
@@ -119,7 +119,7 @@ public:
 
        void SetEventListener(_IContextManagerEventListener& listener);
 
-       void AppTerminationHandler(int pid, const AppId& appId);
+       void AppTerminationHandler(const AppId& appId);
        void Dump(void) const;
        void AddSystemServiceApp(const AppId& appId) const;
        void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
index 6cb8013..99258b8 100644 (file)
@@ -245,7 +245,7 @@ _ContextManager::Unregister(int pid)
        pAppContext->isRegistered = false;
        SysLog(NID_APP, "(app(%ls), pid:%d) Unregistered.", pAppContext->appId.GetPointer(), pid);
 
-       AppTerminationHandler(pAppContext->pId, pAppContext->appId);
+       AppTerminationHandler(pAppContext->appId);
 
        int res = __appContexts.erase(pid);
 
@@ -274,7 +274,7 @@ _ContextManager::Unregister(int pid)
 }
 
 void
-_ContextManager::AppTerminationHandler(int pid, const AppId& appId)
+_ContextManager::AppTerminationHandler(const AppId& appId)
 {
        SysLog(NID_APP, "Enter");