Eliminate gcc 4.0 warning in libedit code. (Bug #9603)
This commit is contained in:
parent
7e7ed0f6a8
commit
45058e100a
@ -1014,7 +1014,7 @@ vi_histedit(EditLine *el, int c)
|
|||||||
return CC_ERROR;
|
return CC_ERROR;
|
||||||
case 0:
|
case 0:
|
||||||
close(fd);
|
close(fd);
|
||||||
execlp("vi", "vi", tempfile, 0);
|
execlp("vi", "vi", tempfile, (char *) NULL);
|
||||||
exit(0);
|
exit(0);
|
||||||
/*NOTREACHED*/
|
/*NOTREACHED*/
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user