diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-08-29 11:18:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-29 11:28:07 -0700 |
commit | a051ca5e650138230f3dd61bda911f0f409ebf23 (patch) | |
tree | 90bfdbea3903e817c2c92879ba1a7fa32ca595e9 /commit-graph.c | |
parent | c3b92d40377f350c5feb0408572978390016fc61 (diff) |
CodingGuidelines: also mention MAYBE_UNUSED
A function that uses a parameter in one build may lose all uses of
the parameter in another build, depending on the configuration. A
workaround for such a case, MAYBE_UNUSED, should also be mentioned
when we recommend the use of UNUSED to our developers.
Keep the addition to the guideline short and document the criteria
to choose between UNUSED and MAYBE_UNUSED near their definition.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions