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
75fad9dc
Commit
75fad9dc
authored
Feb 10, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings
parent
f2ca9c87
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
cmd-line-utils/libedit/vi.c
cmd-line-utils/libedit/vi.c
+3
-2
storage/xtradb/buf/buf0buf.c
storage/xtradb/buf/buf0buf.c
+1
-1
No files found.
cmd-line-utils/libedit/vi.c
View file @
75fad9dc
...
@@ -1012,8 +1012,9 @@ vi_histedit(EditLine *el, int c __attribute__((__unused__)))
...
@@ -1012,8 +1012,9 @@ vi_histedit(EditLine *el, int c __attribute__((__unused__)))
if
(
fd
<
0
)
if
(
fd
<
0
)
return
CC_ERROR
;
return
CC_ERROR
;
cp
=
el
->
el_line
.
buffer
;
cp
=
el
->
el_line
.
buffer
;
write
(
fd
,
cp
,
el
->
el_line
.
lastchar
-
cp
+
0u
);
if
(
write
(
fd
,
cp
,
el
->
el_line
.
lastchar
-
cp
+
0u
)
==
-
1
||
write
(
fd
,
"
\n
"
,
1
);
write
(
fd
,
"
\n
"
,
1
)
==
-
1
)
return
CC_ERROR
;
pid
=
fork
();
pid
=
fork
();
switch
(
pid
)
{
switch
(
pid
)
{
case
-
1
:
case
-
1
:
...
...
storage/xtradb/buf/buf0buf.c
View file @
75fad9dc
...
@@ -2196,7 +2196,7 @@ buf_page_get_gen(
...
@@ -2196,7 +2196,7 @@ buf_page_get_gen(
ulint
fix_type
;
ulint
fix_type
;
ibool
must_read
;
ibool
must_read
;
ulint
retries
=
0
;
ulint
retries
=
0
;
mutex_t
*
block_mutex
;
mutex_t
*
block_mutex
=
0
;
trx_t
*
trx
=
NULL
;
trx_t
*
trx
=
NULL
;
ulint
sec
;
ulint
sec
;
ulint
ms
;
ulint
ms
;
...
...
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