Error message:
[ 260s] /home/abuild/rpmbuild/BUILD/capi-appfw-app-manager-0.2.4/src/app_context.c:400:4: error: 'app_context' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ 260s] app_context_destroy(app_context);
[ 260s] ^
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: I37192aead8c44bf340da93260ec74ff221330183
static int app_context_launched_event_cb(pid_t pid, void *data)
{
- app_context_h app_context;
+ app_context_h app_context = NULL;
app_context_lock_event_cb_context();