--- \dll\iup\a\src\iup_names.c	2019-07-25 16:27:06.000000000 -0300
+++ iup_names.c	2020-02-14 14:12:39.662703800 -0300
@@ -184,7 +184,6 @@
 
 IUP_API char* IupGetName(Ihandle* ih)
 {
-  char *name;
   if (!ih) /* no iupASSERT needed here */
     return NULL;
 
@@ -193,11 +192,7 @@
   if (iupObjectCheck(ih)) /* if ih is an Ihandle* */
   {
     /* check for a name */
-    name = iupAttribGetHandleName(ih);
-    if (name)
-      return name;
-    else
-      return NULL;
+    return iupAttribGetHandleName(ih);
   }
 
   /* search for a name */
