diff --git a/ChangeLog b/ChangeLog
index 5f487a134dbe2012141dbae0c053b660221d633c..7a0ed2728dd0465d0fc913836da64819c1e31ef0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 	* src/search.c (search_init, do_replace): Don't bother setting the
 	current answer to the empty string, as do_prompt() can handle a NULL.
 	* src/browser.c (do_browser): Delete a snippet of dead code.
+	* src/browser.c (do_browser): Delete an unneeded variable.
 
 2016-03-17  Benno Schulenberg  <bensberg@justemail.net>
 	* src/search.c (do_research): Use the Search key bindings also during
diff --git a/src/browser.c b/src/browser.c
index 2d30bbdd8294ad0a95c900eb495302be40014a0a..28b1087016fffd885ec56a718504c4a259585eac 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -54,8 +54,6 @@ char *do_browser(char *path, DIR *dir)
     bool old_const_update = ISSET(CONST_UPDATE);
     char *prev_dir = NULL;
 	/* The directory we were in before backing up to "..". */
-    char *ans = NULL;
-	/* The last answer the user typed at the statusbar prompt. */
     size_t old_selected;
 	/* The selected file we had before the current selected file. */
     functionptrtype func;
@@ -69,8 +67,6 @@ char *do_browser(char *path, DIR *dir)
 
     UNSET(CONST_UPDATE);
 
-    ans = mallocstrcpy(NULL, "");
-
   change_browser_directory:
 	/* We go here after we select a new directory. */
 
@@ -214,7 +210,7 @@ char *do_browser(char *path, DIR *dir)
 #ifndef DISABLE_TABCOMP
 			FALSE,
 #endif
-			MGOTODIR, ans,
+			MGOTODIR, NULL,
 #ifndef DISABLE_HISTORIES
 			NULL,
 #endif
@@ -343,7 +339,6 @@ char *do_browser(char *path, DIR *dir)
 	SET(CONST_UPDATE);
 
     free(path);
-    free(ans);
 
     free_chararray(filelist, filelist_len);
     filelist = NULL;