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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1297a9ef
Commit
1297a9ef
authored
Nov 25, 2013
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for a compiler warning.
parent
3fc77434
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
mysys/my_getopt.c
mysys/my_getopt.c
+0
-3
No files found.
mysys/my_getopt.c
View file @
1297a9ef
...
@@ -840,7 +840,6 @@ static int findopt(char *optpat, uint length,
...
@@ -840,7 +840,6 @@ static int findopt(char *optpat, uint length,
{
{
uint
count
;
uint
count
;
const
struct
my_option
*
opt
=
*
opt_res
;
const
struct
my_option
*
opt
=
*
opt_res
;
my_bool
is_prefix
=
FALSE
;
DBUG_ENTER
(
"findopt"
);
DBUG_ENTER
(
"findopt"
);
for
(
count
=
0
;
opt
->
name
;
opt
++
)
for
(
count
=
0
;
opt
->
name
;
opt
++
)
...
@@ -856,8 +855,6 @@ static int findopt(char *optpat, uint length,
...
@@ -856,8 +855,6 @@ static int findopt(char *optpat, uint length,
/* We only need to know one prev */
/* We only need to know one prev */
count
=
1
;
count
=
1
;
*
ffname
=
opt
->
name
;
*
ffname
=
opt
->
name
;
if
(
opt
->
name
[
length
])
is_prefix
=
TRUE
;
}
}
else
if
(
strcmp
(
*
ffname
,
opt
->
name
))
else
if
(
strcmp
(
*
ffname
,
opt
->
name
))
{
{
...
...
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