summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index c5ae758541c..efb632cf5e4 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -344,10 +344,6 @@ static int get_options(int *argc,char ***argv)
tty_password=1;
break;
case 'P':
- if(!current_host) {
- my_free(current_host, MYF(MY_ALLOW_ZERO_PTR));
- current_host=my_strdup("127.0.0.1", MYF(MY_WME));
- };
opt_mysql_port= (unsigned int) atoi(optarg);
break;
case 'S':