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)
|
||||
return CC_ERROR;
|
||||
cp = el->el_line.buffer;
|
||||
write(fd, cp, el->el_line.lastchar - cp +0u);
|
||||
write(fd, "\n", 1);
|
||||
if (write(fd, cp, el->el_line.lastchar - cp +0u) == -1 ||
|
||||
write(fd, "\n", 1) == -1)
|
||||
return CC_ERROR;
|
||||
pid = fork();
|
||||
switch (pid) {
|
||||
case -1:
|
||||
|
@ -2196,7 +2196,7 @@ buf_page_get_gen(
|
||||
ulint fix_type;
|
||||
ibool must_read;
|
||||
ulint retries = 0;
|
||||
mutex_t* block_mutex;
|
||||
mutex_t* block_mutex= 0;
|
||||
trx_t* trx = NULL;
|
||||
ulint sec;
|
||||
ulint ms;
|
||||
|
Loading…
x
Reference in New Issue
Block a user