diff options
author | louiz’ <louiz@louiz.org> | 2018-06-25 22:57:23 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-06-25 22:57:23 +0200 |
commit | 7f8a612c9881928f722fb41c75ff18b94a133ed4 (patch) | |
tree | 9afc36039b08551f0637a437ad2efed4de753620 /src | |
parent | 52166e07acd785b39c0da98be4c35e886b75c3c9 (diff) | |
download | biboumi-7f8a612c9881928f722fb41c75ff18b94a133ed4.tar.gz biboumi-7f8a612c9881928f722fb41c75ff18b94a133ed4.tar.bz2 biboumi-7f8a612c9881928f722fb41c75ff18b94a133ed4.tar.xz biboumi-7f8a612c9881928f722fb41c75ff18b94a133ed4.zip |
Fix a warning (unused variable) in some build config
Diffstat (limited to 'src')
-rw-r--r-- | src/bridge/bridge.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp index 08d0bab..c3c2003 100644 --- a/src/bridge/bridge.cpp +++ b/src/bridge/bridge.cpp @@ -828,6 +828,8 @@ void Bridge::send_message(const Iid& iid, const std::string& nick, const std::st if (log && this->record_history) uuid = Database::store_muc_message(this->get_bare_jid(), iid.get_local(), iid.get_server(), std::chrono::system_clock::now(), std::get<0>(xmpp_body), nick); +#else + (void)log; #endif for (const auto& resource: this->resources_in_chan[iid.to_tuple()]) { |