From c3542141f9a96a82e35c18d991aad5c927321a81 Mon Sep 17 00:00:00 2001 From: Henrik Stolzmann <henrik.stolzmann@mailbox.tu-dresden.de> Date: Wed, 10 Apr 2019 22:51:04 +0200 Subject: [PATCH] Tried to fix th warning: "variable 'nSendMsgs' set but not used" ```` Added the attribute "DUNE_UNUSED" to the variable "nSendMsgs" to avoid a warning. ```` --- parallel/ddd/xfer/cmds.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parallel/ddd/xfer/cmds.cc b/parallel/ddd/xfer/cmds.cc index 8791aab57..06d2cc626 100644 --- a/parallel/ddd/xfer/cmds.cc +++ b/parallel/ddd/xfer/cmds.cc @@ -380,7 +380,8 @@ DDD_RET DDD_XferEnd(DDD::DDDContext& context) XIModCpl **arrayXIModCpl = NULL; int remXIModCpl; XIAddCpl **arrayXIAddCpl = NULL; - int obsolete, nRecvMsgs, nSendMsgs; + int obsolete, nRecvMsgs; + DUNE_UNUSED int nSendMsgs; XFERMSG *sendMsgs=NULL, *sm=NULL; LC_MSGHANDLE *recvMsgs = NULL; std::vector<DDD_HDR> localCplObjs; -- GitLab