From: Sung-jae Park Date: Wed, 26 Jun 2013 00:40:23 +0000 (+0900) Subject: Fix the invalid code X-Git-Tag: submit/tizen_mobile/20150527.071719~1^2~30^2~14^2~61^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdaab1bbe3320964638da84caf5ba1405c62c362;p=platform%2Fcore%2Fappfw%2Fwidget-viewer.git Fix the invalid code [model] Redwood [binary_type] AP [customer] Docomo/Orange/Open [issue#] N/A [problem] GCC 4.8 warnings. [cause] Callback data is NULL but it is dereferred from the callback function. [solution] Remove invalid code [team] HomeTF [request] [horizontal_expansion] Change-Id: I96489bef780eba9368493b9c668abf9e97e30e94 --- diff --git a/src/livebox.c b/src/livebox.c index ddebcbb..bc7f0aa 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -176,13 +176,6 @@ errout: static void resize_cb(struct livebox *handler, const struct packet *result, void *data) { int ret; - struct cb_info *info = data; - ret_cb_t cb; - void *cbdata; - - cb = info->cb; - cbdata = info->data; - destroy_cb_info(info); if (!result) { ret = LB_STATUS_ERROR_FAULT;