Commit 2908bb8f authored by Ismael Asensio's avatar Ismael Asensio
Browse files

[kldap] Fix compilation without LDAP

Summary: Update the method signatures when not `LDAP_FOUND`

Test Plan: It compiles when `LDAP_FOUND` is not defined

Reviewers: #kde_pim, vkrause, dvratil

Reviewed By: #kde_pim, vkrause

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D26337
parent ad0795a4
...@@ -438,14 +438,14 @@ QByteArray Ber::flatten() const ...@@ -438,14 +438,14 @@ QByteArray Ber::flatten() const
return QByteArray(); return QByteArray();
} }
int Ber::printf(const QString &format, ...) int Ber::printf(QString format, ...)
{ {
Q_UNUSED(format); Q_UNUSED(format);
qCritical() << "LDAP support not compiled"; qCritical() << "LDAP support not compiled";
return -1; return -1;
} }
int Ber::scanf(const QString &format, ...) int Ber::scanf(QString format, ...)
{ {
Q_UNUSED(format); Q_UNUSED(format);
qCritical() << "LDAP support not compiled"; qCritical() << "LDAP support not compiled";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment