mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1069
Problem: Compiler warning for unused argument. Solution: Add UNUSED.
This commit is contained in:
@@ -842,7 +842,7 @@ alloc(size)
|
|||||||
char_u *
|
char_u *
|
||||||
alloc_id(size, id)
|
alloc_id(size, id)
|
||||||
unsigned size;
|
unsigned size;
|
||||||
int id;
|
int id UNUSED;
|
||||||
{
|
{
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
if (alloc_fail_id == id && alloc_does_fail())
|
if (alloc_fail_id == id && alloc_does_fail())
|
||||||
@@ -1007,7 +1007,7 @@ theend:
|
|||||||
lalloc_id(size, message, id)
|
lalloc_id(size, message, id)
|
||||||
long_u size;
|
long_u size;
|
||||||
int message;
|
int message;
|
||||||
int id;
|
int id UNUSED;
|
||||||
{
|
{
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
if (alloc_fail_id == id && alloc_does_fail())
|
if (alloc_fail_id == id && alloc_does_fail())
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
1069,
|
||||||
/**/
|
/**/
|
||||||
1068,
|
1068,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user