Fix build warning
authorSoo-Hyun Choi <sh9.choi@samsung.com>
Sat, 21 Sep 2013 07:57:22 +0000 (16:57 +0900)
committerHoseon LEE <hoseon46.lee@samsung.com>
Sun, 29 Sep 2013 08:09:36 +0000 (17:09 +0900)
* warning: unused parameter

[Issue#]   N/A
[Problem]  Build warning
[Cause]    Unused parameter
[Solution] Make use of DPL_UNUSED_PARAM()

Change-Id: I9269bf5f182b2cd0d42024b3f2e3d29f68976e17

src/view/webkit/view_logic_user_agent_support.cpp
src/wrt-client/window_data.cpp

index 862c801..44ae1da 100644 (file)
@@ -25,6 +25,7 @@
 #include <cstring>
 #include <dpl/log/secure_log.h>
 #include <dpl/string.h>
+#include <dpl/unused.h>
 #include <widget_model.h>
 
 #include <app.h>
@@ -51,6 +52,7 @@ bool setCustomUA(WidgetModel* model, Evas_Object* wkView)
 
 bool setAppInfo(WidgetModel* model, Evas_Object* wkView)
 {
+    DPL_UNUSED_PARAM(model);
     std::string appInfo; // appname/appversion
     char* name = NULL;
     if (app_get_name(&name) == APP_ERROR_NONE) {
index 4769531..78ba881 100644 (file)
@@ -24,6 +24,7 @@
 #include <ui-gadget.h>
 #include <dpl/log/log.h>
 #include <dpl/foreach.h>
+#include <dpl/unused.h>
 
 #include <efl_assist_screen_reader.h>
 
@@ -424,6 +425,7 @@ void WindowData::winDeleteRequestCallback(void* data,
                                           Evas_Object* /*obj*/,
                                           void* /*eventInfo*/)
 {
+    DPL_UNUSED_PARAM(data);
     LogDebug("call");
     elm_exit();
 }