libpurple/smiley.c

changeset 38290
2d8479ba7df8
parent 38286
b9048b6c357e
child 38296
2fc408bdc848
--- a/libpurple/smiley.c	Tue Oct 04 19:13:03 2016 -0500
+++ b/libpurple/smiley.c	Tue Oct 04 19:15:52 2016 -0500
@@ -47,7 +47,7 @@
 
 	g_free(priv->shortcut);
 
-	priv->shortcut = (shortcut) ? g_strdup(shortcut) : NULL;
+	priv->shortcut = g_strdup(shortcut);
 
 	g_object_notify(G_OBJECT(smiley), "shortcut");
 }

mercurial