diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-06-12 23:07:07 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-06-13 11:08:53 +0200 |
commit | 74f911d4635a2f120e9afee2810fa62a41f18bce (patch) | |
tree | df561da2b4ce502c1dc772e39c5b87b8bee01c25 /tests/data/test1397 | |
parent | 9dd731c94e29e5422c5bd2811219a0987d4aeb91 (diff) |
krb5: fix compiler warning
Even though the variable was used in a DEBUGASSERT, GCC 8 warned in
debug mode:
krb5.c:324:17: error: unused variable 'maj' [-Werror=unused-variable]
Just suppress the warning and declare the variable unconditionally
instead of only for DEBUGBUILD (which also missed the check for
HAVE_ASSERT_H).
Closes https://github.com/curl/curl/pull/4020
Diffstat (limited to 'tests/data/test1397')
0 files changed, 0 insertions, 0 deletions