summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-06-12 23:07:07 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-06-13 11:08:53 +0200
commit74f911d4635a2f120e9afee2810fa62a41f18bce (patch)
treedf561da2b4ce502c1dc772e39c5b87b8bee01c25 /docs/examples
parent9dd731c94e29e5422c5bd2811219a0987d4aeb91 (diff)
downloadcurl-74f911d4635a2f120e9afee2810fa62a41f18bce.tar.gz
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 'docs/examples')
0 files changed, 0 insertions, 0 deletions