1
0
forked from aniani/vim

updated for version 7.2.358

Problem:    Compiler warnings on VMS. (Zoltan Arpadffy)
Solution:   Pass array itself instead its address.  Return a value.
This commit is contained in:
Bram Moolenaar
2010-02-11 18:19:38 +01:00
parent 0413d48711
commit b4990bf90b
3 changed files with 9 additions and 1 deletions

View File

@@ -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