Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
76b8c874
Commit
76b8c874
authored
Nov 12, 2004
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed an unneccessary for() and variable.
parent
77fe1baf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
mysys/default.c
mysys/default.c
+4
-5
No files found.
mysys/default.c
View file @
76b8c874
...
@@ -120,7 +120,7 @@ int load_defaults(const char *conf_file, const char **groups,
...
@@ -120,7 +120,7 @@ int load_defaults(const char *conf_file, const char **groups,
uint
args_used
=
0
;
uint
args_used
=
0
;
int
error
=
0
;
int
error
=
0
;
MEM_ROOT
alloc
;
MEM_ROOT
alloc
;
char
*
ptr
,
**
res
,
**
ext
;
char
*
ptr
,
**
res
;
DBUG_ENTER
(
"load_defaults"
);
DBUG_ENTER
(
"load_defaults"
);
...
@@ -176,10 +176,9 @@ int load_defaults(const char *conf_file, const char **groups,
...
@@ -176,10 +176,9 @@ int load_defaults(const char *conf_file, const char **groups,
}
}
else
if
(
dirname_length
(
conf_file
))
else
if
(
dirname_length
(
conf_file
))
{
{
for
(
ext
=
(
char
**
)
f_extensions
;
*
ext
;
*
ext
++
)
if
((
error
=
search_default_file
(
&
args
,
&
alloc
,
NullS
,
conf_file
,
if
((
error
=
search_default_file
(
&
args
,
&
alloc
,
NullS
,
conf_file
,
&
group
))
<
0
)
&
group
))
<
0
)
goto
err
;
goto
err
;
}
}
else
else
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment