From 2cf4bf8c9861f82642665db00bb9808912358566 Mon Sep 17 00:00:00 2001 From: unknown <kent@mysql.com> Date: Tue, 11 Apr 2006 02:48:19 +0200 Subject: [PATCH] mysql_upgrade.c: No declarations after first expression in block client/mysql_upgrade.c: No declarations after first expression in block --- client/mysql_upgrade.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index 743e9cc3b6..78e4acd4c1 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -144,7 +144,7 @@ static int create_check_file(const char *path) static int create_defaults_file(const char *path, const char *our_defaults_path) { uint b_read; - File our_defaults_file; + File our_defaults_file, defaults_file; char buffer[512]; char *buffer_end; int error; @@ -153,8 +153,8 @@ static int create_defaults_file(const char *path, const char *our_defaults_path) if (!opt_password) return 0; - File defaults_file= my_open(path, O_BINARY | O_CREAT | O_WRONLY, - MYF(MY_FAE | MY_WME)); + defaults_file= my_open(path, O_BINARY | O_CREAT | O_WRONLY, + MYF(MY_FAE | MY_WME)); if (defaults_file < 0) return 1; -- 2.30.9