Fixed compiler warnings
This commit is contained in:
parent
f2ca9c8784
commit
75fad9dc95
@ -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:
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user