summaryrefslogtreecommitdiff
path: root/mysys/my_default.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_default.c')
-rw-r--r--mysys/my_default.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mysys/my_default.c b/mysys/my_default.c
index 3ef960b8ce7..30c76c7f5ed 100644
--- a/mysys/my_default.c
+++ b/mysys/my_default.c
@@ -322,17 +322,13 @@ int get_defaults_options(char **argv)
if (my_defaults_extra_file && my_defaults_extra_file != extra_file_buffer)
{
- int error= my_realpath(extra_file_buffer, my_defaults_extra_file, MYF(0));
- if (error)
- return error;
+ my_realpath(extra_file_buffer, my_defaults_extra_file, MYF(0));
my_defaults_extra_file= extra_file_buffer;
}
if (my_defaults_file && my_defaults_file != file_buffer)
{
- int error= my_realpath(file_buffer, my_defaults_file, MYF(0));
- if (error)
- return error;
+ my_realpath(file_buffer, my_defaults_file, MYF(0));
my_defaults_file= file_buffer;
}