Back out r15158 because it apparently breaks with recent versions of
flex (which, incidentally, emit ''more'' warnings than earlier versions). Grumble. This commit was SVN r15166. The following SVN revision numbers were found above: r15158 --> open-mpi/ompi@57d09c10f7
Этот коммит содержится в:
родитель
3740640711
Коммит
022bd30558
@ -113,15 +113,6 @@ static int finish_parsing(void)
|
||||
YY_CURRENT_BUFFER = NULL;
|
||||
#endif /* YY_CURRENT_BUFFER_LVALUE */
|
||||
}
|
||||
|
||||
/* Put in this dumb thing to avoid a compiler warning about
|
||||
yy_flex_realloc being defined but not used. @#$@!#$!@#$ */
|
||||
{
|
||||
char *foo = malloc(1);
|
||||
foo = yy_flex_realloc(foo, 2);
|
||||
free(foo);
|
||||
}
|
||||
|
||||
return YY_NULL;
|
||||
}
|
||||
|
||||
|
@ -97,15 +97,6 @@ static int finish_parsing(void)
|
||||
YY_CURRENT_BUFFER = NULL;
|
||||
#endif /* YY_CURRENT_BUFFER_LVALUE */
|
||||
}
|
||||
|
||||
/* Put in this dumb thing to avoid a compiler warning about
|
||||
yy_flex_realloc being defined but not used. @#$@!#$!@#$ */
|
||||
{
|
||||
char *foo = malloc(1);
|
||||
foo = yy_flex_realloc(foo, 2);
|
||||
free(foo);
|
||||
}
|
||||
|
||||
return YY_NULL;
|
||||
}
|
||||
|
||||
|
@ -88,15 +88,6 @@ int opal_show_help_finish_parsing(void)
|
||||
YY_CURRENT_BUFFER = NULL;
|
||||
#endif /* YY_CURRENT_BUFFER_LVALUE */
|
||||
}
|
||||
|
||||
/* Put in this dumb thing to avoid a compiler warning about
|
||||
yy_flex_realloc being defined but not used. @#$@!#$!@#$ */
|
||||
{
|
||||
char *foo = malloc(1);
|
||||
foo = yy_flex_realloc(foo, 2);
|
||||
free(foo);
|
||||
}
|
||||
|
||||
return YY_NULL;
|
||||
}
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user