From 27631962c4e5eef7cff81923ae73e52c855f6b2c Mon Sep 17 00:00:00 2001 From: Soohye Shin Date: Wed, 14 Oct 2015 14:50:37 +0900 Subject: prevent:475919 - remove dead code Change-Id: Idba0a5891f5a4f928a111bf8dfa9c4998055703e Signed-off-by: Soohye Shin --- src/data/data_recent.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/data/data_recent.c b/src/data/data_recent.c index 4c2433c..f16175e 100644 --- a/src/data/data_recent.c +++ b/src/data/data_recent.c @@ -178,14 +178,11 @@ static void _channel_list_foreach(gpointer data, gpointer user_data) } if (channel.minor > 0) - snprintf(buf, sizeof(buf), "%ld-%ld %s", - channel.major, channel.minor, - channel.program_name ? - channel.program_name : ""); + snprintf(buf, sizeof(buf), "%ld-%ld %s", channel.major, + channel.minor, channel.program_name); else snprintf(buf, sizeof(buf), "%ld %s", channel.major, - channel.program_name ? - channel.program_name : ""); + channel.program_name); _get_program(atoi(rdata->id), &program); -- cgit v1.2.3