diff options
author | unknown <jimw@mysql.com> | 2005-05-07 08:16:43 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-05-07 08:16:43 -0700 |
commit | 8001e398df6724052bf0b1957ff1d9578f6b00a5 (patch) | |
tree | cbb9190fa275c4ece33ee221a219f759cd2b3f44 /cmd-line-utils | |
parent | 29fcd4b318cccf96fbdd68232c9b0596ead04f9d (diff) | |
download | mariadb-git-8001e398df6724052bf0b1957ff1d9578f6b00a5.tar.gz |
Eliminate gcc 4.0 warning in libedit code. (Bug #9603)
cmd-line-utils/libedit/vi.c:
Eliminate compiler warning
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/libedit/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/vi.c b/cmd-line-utils/libedit/vi.c index 4a0352859dd..b977ce716c6 100644 --- a/cmd-line-utils/libedit/vi.c +++ b/cmd-line-utils/libedit/vi.c @@ -1014,7 +1014,7 @@ vi_histedit(EditLine *el, int c) return CC_ERROR; case 0: close(fd); - execlp("vi", "vi", tempfile, 0); + execlp("vi", "vi", tempfile, (char *) NULL); exit(0); /*NOTREACHED*/ default: |