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
e3bffd57
Commit
e3bffd57
authored
Mar 26, 2019
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some warnings from -Wimplicit-fallthrough= with build scripts
parent
b5615eff
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
BUILD/SETUP.sh
BUILD/SETUP.sh
+1
-1
pcre/pcre_dfa_exec.c
pcre/pcre_dfa_exec.c
+1
-0
pcre/pcre_exec.c
pcre/pcre_exec.c
+1
-1
pcre/pcregrep.c
pcre/pcregrep.c
+1
-1
No files found.
BUILD/SETUP.sh
View file @
e3bffd57
...
@@ -141,7 +141,7 @@ elif [ "x$warning_mode" = "xmaintainer" ]; then
...
@@ -141,7 +141,7 @@ elif [ "x$warning_mode" = "xmaintainer" ]; then
debug_extra_cflags
=
"-g3"
debug_extra_cflags
=
"-g3"
else
else
# Both C and C++ warnings
# Both C and C++ warnings
warnings
=
"-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing"
warnings
=
"-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing
-Wimplicit-fallthrough=2
"
# For more warnings, uncomment the following line
# For more warnings, uncomment the following line
# warnings="$warnings -Wshadow"
# warnings="$warnings -Wshadow"
...
...
pcre/pcre_dfa_exec.c
View file @
e3bffd57
...
@@ -2198,6 +2198,7 @@ for (;;)
...
@@ -2198,6 +2198,7 @@ for (;;)
case
0x2029
:
case
0x2029
:
#endif
/* Not EBCDIC */
#endif
/* Not EBCDIC */
if
((
md
->
moptions
&
PCRE_BSR_ANYCRLF
)
!=
0
)
break
;
if
((
md
->
moptions
&
PCRE_BSR_ANYCRLF
)
!=
0
)
break
;
/* fall through */
case
CHAR_LF
:
case
CHAR_LF
:
ADD_NEW
(
state_offset
+
1
,
0
);
ADD_NEW
(
state_offset
+
1
,
0
);
...
...
pcre/pcre_exec.c
View file @
e3bffd57
...
@@ -2086,7 +2086,7 @@ for (;;)
...
@@ -2086,7 +2086,7 @@ for (;;)
case
OP_CIRC
:
case
OP_CIRC
:
if
(
md
->
notbol
&&
eptr
==
md
->
start_subject
)
RRETURN
(
MATCH_NOMATCH
);
if
(
md
->
notbol
&&
eptr
==
md
->
start_subject
)
RRETURN
(
MATCH_NOMATCH
);
/* Start of subject assertion */
/*
Fall through.
Start of subject assertion */
case
OP_SOD
:
case
OP_SOD
:
if
(
eptr
!=
md
->
start_subject
)
RRETURN
(
MATCH_NOMATCH
);
if
(
eptr
!=
md
->
start_subject
)
RRETURN
(
MATCH_NOMATCH
);
...
...
pcre/pcregrep.c
View file @
e3bffd57
...
@@ -2407,7 +2407,7 @@ handle_option(int letter, int options)
...
@@ -2407,7 +2407,7 @@ handle_option(int letter, int options)
switch
(
letter
)
switch
(
letter
)
{
{
case
N_FOFFSETS
:
file_offsets
=
TRUE
;
break
;
case
N_FOFFSETS
:
file_offsets
=
TRUE
;
break
;
case
N_HELP
:
help
();
pcregrep_exit
(
0
);
case
N_HELP
:
help
();
pcregrep_exit
(
0
);
break
;
case
N_LBUFFER
:
line_buffered
=
TRUE
;
break
;
case
N_LBUFFER
:
line_buffered
=
TRUE
;
break
;
case
N_LOFFSETS
:
line_offsets
=
number
=
TRUE
;
break
;
case
N_LOFFSETS
:
line_offsets
=
number
=
TRUE
;
break
;
case
N_NOJIT
:
study_options
&=
~
PCRE_STUDY_JIT_COMPILE
;
break
;
case
N_NOJIT
:
study_options
&=
~
PCRE_STUDY_JIT_COMPILE
;
break
;
...
...
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