Mercurial > ecos
diff host/tools/ecostest/common/eCosTest.cpp @ 3281:f9b94a5b13ac
* infra/trace.cxx, libcdl/build.cxx, libcdl/expr.cxx,
tools/Utils/common/eCosStd.h, tools/ecostest/common/eCosTest.cpp,
tools/configtool/standalone/wxwin/admindlg.cpp,
tools/configtool/standalone/wxwin/configtooldoc.cpp,
tools/configtool/standalone/wxwin/configtree.cpp: Silence "set
but unused" variable warnings with recent GCC. [ Bugzilla 1001949 ]
* standalone/common/ecosconfig.cxx: Update copyright string.
| author | jld |
|---|---|
| date | Thu, 13 Mar 2014 15:03:41 +0000 |
| parents | 7337b9f24edf |
| children | b340d0ab5dd3 |
line wrap: on
line diff
--- a/host/tools/ecostest/common/eCosTest.cpp +++ b/host/tools/ecostest/common/eCosTest.cpp @@ -1,7 +1,7 @@ // ####ECOSHOSTGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of the eCos host tools. -// Copyright (C) 1998, 1999, 2000, 2009 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2009, 2014 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -869,6 +869,7 @@ void CeCosTest::ConnectSocketToSerialThr } TRACE(_T("ConnectSocketToSerial : done\n")); CeCosSocket::CloseSocket(m_nAuxListenSock); + CYG_UNUSED_PARAM(bool, rc); } static bool CALLBACK DerefBool(void *pParam) @@ -935,6 +936,7 @@ void CeCosTest::AcceptThreadFunc() SetExecutable(m_strExecutable); // to set stripped length and title RunLocal(); _tunlink(m_strExecutable); + CYG_UNUSED_PARAM(bool, bCanRun); } sendResult(); m_pSock->recvInteger(n); // receive an ack
