From b831e97af45e94da0f5b89e26fc579734385cb0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Thu, 27 Apr 2017 17:52:46 +0200 Subject: [PATCH] label: Remove dead ternary operator --- gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index af23f133ba..f97e73b8aa 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -4546,7 +4546,7 @@ gtk_label_set_text_with_mnemonic (GtkLabel *label, g_object_freeze_notify (G_OBJECT (label)); - gtk_label_set_label_internal (label, g_strdup (str ? str : "")); + gtk_label_set_label_internal (label, g_strdup (str)); gtk_label_set_use_markup_internal (label, FALSE); gtk_label_set_use_underline_internal (label, TRUE);