Skip to content

Commit

Permalink
corec: remove bogus UNUSED_PARAM usage
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jan 2, 2025
1 parent edad85c commit 003dc8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion corec/corec/helpers/file/file_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static err_t Write(filestream* p,const void* Data,size_t Size,size_t* Written)
return Err;
}

static err_t SetLength(filestream* p,dataid UNUSED_PARAM(Id),const filepos_t* Data,size_t UNUSED_PARAM(Size))
static err_t SetLength(filestream* p,dataid UNUSED_PARAM(Id),const filepos_t* Data,size_t Size)
{
err_t Result = ERR_NONE;
filepos_t Pos;
Expand Down
2 changes: 1 addition & 1 deletion corec/corec/node/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ static const nodemeta* BitLookup(const nodeclass* Class,dataid Id)
return NULL;
}

static NOINLINE int CmpLookup(const void* UNUSED_PARAM(p), const void* va, const void* vb)
static NOINLINE int CmpLookup(const void* p, const void* va, const void* vb)
{
const nodemetalookup* a = va;
const nodemetalookup* b = vb;
Expand Down

0 comments on commit 003dc8d

Please sign in to comment.