forked from aniani/vim
patch 7.4.703
Problem: Compiler warning for start_dir unused when building unittests. Solution: Move start_dir inside the #ifdef.
This commit is contained in:
@@ -147,10 +147,11 @@ static char *(main_errors[]) =
|
|||||||
#define ME_INVALID_ARG 5
|
#define ME_INVALID_ARG 5
|
||||||
};
|
};
|
||||||
|
|
||||||
static char_u *start_dir = NULL; /* current working dir on startup */
|
|
||||||
|
|
||||||
#ifndef PROTO /* don't want a prototype for main() */
|
#ifndef PROTO /* don't want a prototype for main() */
|
||||||
#ifndef NO_VIM_MAIN /* skip this for unittests */
|
#ifndef NO_VIM_MAIN /* skip this for unittests */
|
||||||
|
|
||||||
|
static char_u *start_dir = NULL; /* current working dir on startup */
|
||||||
|
|
||||||
int
|
int
|
||||||
# ifdef VIMDLL
|
# ifdef VIMDLL
|
||||||
_export
|
_export
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
703,
|
||||||
/**/
|
/**/
|
||||||
702,
|
702,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user