diff options
author | louiz’ <louiz@louiz.org> | 2017-05-21 12:23:10 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-05-21 12:23:10 +0200 |
commit | cf1c8f188c64ffe6cce941027190ef3cd90abf6e (patch) | |
tree | 49829dc586b07439c67e16b2aecb26e61cda8ff3 /src/bridge/bridge.cpp | |
parent | 154c12f363e5b99b18420980c5f19bb206738d70 (diff) | |
download | biboumi-cf1c8f188c64ffe6cce941027190ef3cd90abf6e.tar.gz biboumi-cf1c8f188c64ffe6cce941027190ef3cd90abf6e.tar.bz2 biboumi-cf1c8f188c64ffe6cce941027190ef3cd90abf6e.tar.xz biboumi-cf1c8f188c64ffe6cce941027190ef3cd90abf6e.zip |
Remove a few warnings occuring in some build config
Diffstat (limited to 'src/bridge/bridge.cpp')
-rw-r--r-- | src/bridge/bridge.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp index f2d782c..4a41b50 100644 --- a/src/bridge/bridge.cpp +++ b/src/bridge/bridge.cpp @@ -25,6 +25,8 @@ static std::string in_encoding_for(const Bridge& bridge, const Iid& iid) auto options = Database::get_irc_channel_options_with_server_default(jid, iid.get_server(), iid.get_local()); return options.encodingIn.value(); #else + (void)bridge; + (void)iid; return {"ISO-8859-1"}; #endif } @@ -1000,6 +1002,10 @@ void Bridge::send_room_history(const std::string& hostname, std::string chan_nam this->xmpp.send_history_message(chan_name, line.nick.value(), line.body.value(), this->user_jid + "/" + resource, seconds); } +#else + (void)hostname; + (void)chan_name; + (void)resource; #endif } |