compilerplugins/clang/stringadd.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ce3badb157c58941608f878a7de98c7739e30aec
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Fri Oct 25 09:09:09 2019 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Fri Oct 25 09:09:53 2019 +0200

    compilerplugins: fix -Werror,-Wunused-lambda-capture
    
    Change-Id: I2a1374a1e79401c2107d003102ab797fac9a3d66

diff --git a/compilerplugins/clang/stringadd.cxx 
b/compilerplugins/clang/stringadd.cxx
index 399af5138fd9..8b96de07e109 100644
--- a/compilerplugins/clang/stringadd.cxx
+++ b/compilerplugins/clang/stringadd.cxx
@@ -194,6 +194,7 @@ bool 
StringAdd::VisitCXXOperatorCallExpr(CXXOperatorCallExpr const* operatorCall
         return true;
 
     auto check = [operatorCall, this, &tc](unsigned arg) {
+        (void)tc;
         auto const e
             = 
dyn_cast<CXXFunctionalCastExpr>(operatorCall->getArg(arg)->IgnoreParenImpCasts());
         if (e == nullptr)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to