diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-02-11 18:19:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-02-11 18:19:38 +0100 |
commit | b4990bf90bf9629e036a2636679c3b8f3f6cd552 (patch) | |
tree | 7886780ed6a6e0bd49d4f60c9bbe9342f817c338 /src/os_unix.c | |
parent | 0413d48711cee4f3b70a097652e502009dc744b4 (diff) | |
download | vim-git-b4990bf90bf9629e036a2636679c3b8f3f6cd552.tar.gz |
updated for version 7.2.358v7.2.358
Problem: Compiler warnings on VMS. (Zoltan Arpadffy)
Solution: Pass array itself instead its address. Return a value.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index a5f033db4..5e11eea3f 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1471,6 +1471,9 @@ x_IOerror_check(dpy) { /* This function should not return, it causes exit(). Longjump instead. */ LONGJMP(lc_jump_env, 1); +# ifdef VMS + return 0; /* avoid the compiler complains about missing return value */ +# endif } # endif @@ -1490,6 +1493,9 @@ x_IOerror_handler(dpy) /* This function should not return, it causes exit(). Longjump instead. */ LONGJMP(x_jump_env, 1); +# ifdef VMS + return 0; /* avoid the compiler complains about missing return value */ +# endif } #endif |