Skip to content

Commit 5f24542

Browse files
committed
patch 7.4.1069
Problem: Compiler warning for unused argument. Solution: Add UNUSED.
1 parent 71bcfdf commit 5f24542

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/misc2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ alloc(size)
842842
char_u *
843843
alloc_id(size, id)
844844
unsigned size;
845-
int id;
845+
int id UNUSED;
846846
{
847847
#ifdef FEAT_EVAL
848848
if (alloc_fail_id == id && alloc_does_fail())
@@ -1007,7 +1007,7 @@ lalloc(size, message)
10071007
lalloc_id(size, message, id)
10081008
long_u size;
10091009
int message;
1010-
int id;
1010+
int id UNUSED;
10111011
{
10121012
#ifdef FEAT_EVAL
10131013
if (alloc_fail_id == id && alloc_does_fail())

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1069,
744746
/**/
745747
1068,
746748
/**/

0 commit comments

Comments
 (0)