about summary refs log tree commit diff stats
path: root/src/GridText.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GridText.c')
-rw-r--r--src/GridText.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/GridText.c b/src/GridText.c
index c99011f5..fb455a71 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -8392,19 +8392,15 @@ void www_user_search(int start_line,
 void user_message(const char *message,
 		  const char *argument)
 {
-    char *temp = NULL;
-
     if (message == NULL) {
 	mustshow = FALSE;
-	return;
-    }
-
-    HTSprintf0(&temp, message, NonNull(argument));
-
-    statusline(temp);
+    } else {
+	char *temp = NULL;
 
-    FREE(temp);
-    return;
+	HTSprintf0(&temp, message, NonNull(argument));
+	statusline(temp);
+	FREE(temp);
+    }
 }
 
 /*