GCC 4.7 build error patch
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 25 Jan 2013 07:58:31 +0000 (07:58 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 25 Jan 2013 11:05:57 +0000 (11:05 +0000)
Change-Id: I7219f19cca52ac01b22420cc694ff6b6903af17f

packaging/com.samsung.data-provider-master.spec
src/group.c
src/instance.c
src/xmonitor.c

index edd50ab..01e1ea8 100644 (file)
@@ -1,6 +1,6 @@
 Name: com.samsung.data-provider-master
 Summary: Master data provider
-Version: 0.14.4
+Version: 0.14.5
 Release: 1
 Group: main/app
 License: Flora License
index 2b94e45..4b58aa9 100644 (file)
@@ -474,7 +474,6 @@ HAPI int group_add_livebox(const char *group, const char *pkgname)
        struct context_info *info;
        struct context_item *item;
        char *key;
-       char *value;
        char *name;
        char *ptr;
        int len;
@@ -493,7 +492,6 @@ HAPI int group_add_livebox(const char *group, const char *pkgname)
        ptr = (char *)group;
        len = 0;
        key = NULL;
-       value = NULL;
 
        /* Skip the first space characters */
        while (*ptr && isspace(*ptr)) ptr++;
index b96cb4f..59e228a 100644 (file)
@@ -2194,7 +2194,6 @@ HAPI int instance_destroyed(struct inst_info *inst)
  */
 HAPI int instance_recover_state(struct inst_info *inst)
 {
-       struct pkg_info *info;
        int ret = 0;
 
        if (inst->changing_state) {
@@ -2215,7 +2214,6 @@ HAPI int instance_recover_state(struct inst_info *inst)
                        break;
                case INST_DESTROYED:
                        DbgPrint("Req. to DESTROYED (%s)\n", package_name(inst->info));
-                       info = inst->info;
                        instance_state_reset(inst);
                        instance_destroy(inst);
                        break;
@@ -2263,11 +2261,8 @@ HAPI int instance_recover_state(struct inst_info *inst)
 HAPI int instance_need_slave(struct inst_info *inst)
 {
        int ret = 0;
-       struct pkg_info *info;
 
        if (inst->client && client_is_faulted(inst->client)) {
-               info = inst->info;
-
                /*!
                 * \note
                 * In this case, the client is faulted(disconnected)
@@ -2276,7 +2271,7 @@ HAPI int instance_need_slave(struct inst_info *inst)
                 * remove it and don't try to recover its states
                 */
 
-               DbgPrint("CLIENT FAULT: Req. to DESTROYED (%s)\n", package_name(info));
+               DbgPrint("CLIENT FAULT: Req. to DESTROYED (%s)\n", package_name(inst->info));
                switch (inst->state) {
                case INST_INIT:
                case INST_ACTIVATED:
@@ -2305,7 +2300,6 @@ HAPI int instance_need_slave(struct inst_info *inst)
                        break;
                case INST_DESTROYED:
                        DbgPrint("Req. to DESTROYED (%s)\n", package_name(inst->info));
-                       info = inst->info;
                        instance_state_reset(inst);
                        instance_destroy(inst);
                        break;
index a587cd7..c3924c5 100644 (file)
@@ -119,8 +119,7 @@ static Eina_Bool create_cb(void *data, int type, void *event)
 
 static Eina_Bool destroy_cb(void *data, int type, void *event)
 {
-       Ecore_X_Event_Window_Destroy * info;
-       info = event;
+       // Ecore_X_Event_Window_Destroy *info = event;
        return ECORE_CALLBACK_PASS_ON;
 }