PREVENT 468265 : Deleted unnecessary NULL check 07/49307/2 accepted/tizen/tv/20151013.040519 submit/tizen/20151013.004713 tizen_3.0.m2.a1_tv_release
authorHyojung Jo <hj903.jo@samsung.com>
Mon, 12 Oct 2015 11:39:31 +0000 (20:39 +0900)
committerHyojung Jo <hj903.jo@samsung.com>
Mon, 12 Oct 2015 12:21:29 +0000 (21:21 +0900)
Change-Id: I4fc72063bd6208d9a07cdc4e098291c0adb6b851
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
src/data/channel.c

index 50b25ad..45d31ac 100644 (file)
@@ -55,8 +55,7 @@ static void _channel_favorite_list_foreach(gpointer data, gpointer user_data)
        cdata->major = channel->major;
        cdata->minor = channel->minor;
 
-       if (channel->program_name)
-               cdata->name = strdup(channel->program_name);
+       cdata->name = strdup(channel->program_name);
 
        *l = eina_list_append(*l, cdata);
 }