diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-06-07 08:38:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-07 10:30:53 -0700 |
commit | e463c5e8a0c306b62c25ff5856087ab32403158a (patch) | |
tree | 5925443709d87d37915600605e7f2598740d53f3 /commit.h | |
parent | 8d3a7ce441422f4b48f14c19a1b3be4ba7bfd30f (diff) |
parse-options: cast long name for OPTION_ALIAS
We assign the long name for OPTION_ALIAS options to a non-constant value
field. We know that the variable will never be written to, but this will
cause warnings once we enable `-Wwrite-strings`.
Cast away the constness to be prepared for this change.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions