mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix compiler warning in ipa-kdb
Make assertion_value a const char* Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
7de2c9bc82
commit
6c52ef2b64
@ -1005,7 +1005,7 @@ ipadb_fetch_principals_with_extra_filter(struct ipadb_context *ipactx,
|
||||
* only to the part of the filter that does use assertion
|
||||
* value. */
|
||||
const char *asterisk = "%x2A";
|
||||
char *assertion_value = esc_original_princ;
|
||||
const char *assertion_value = esc_original_princ;
|
||||
|
||||
if ((len == 1) && (esc_original_princ[0] == '*')) {
|
||||
assertion_value = asterisk;
|
||||
|
Loading…
Reference in New Issue
Block a user