mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Harmonize parameter names in contrib code.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in contrib code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
This commit is contained in:
@ -382,14 +382,14 @@ intarray_concat_arrays(ArrayType *a, ArrayType *b)
|
||||
}
|
||||
|
||||
ArrayType *
|
||||
int_to_intset(int32 n)
|
||||
int_to_intset(int32 elem)
|
||||
{
|
||||
ArrayType *result;
|
||||
int32 *aa;
|
||||
|
||||
result = new_intArrayType(1);
|
||||
aa = ARRPTR(result);
|
||||
aa[0] = n;
|
||||
aa[0] = elem;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user