comparison 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
comparison
equal deleted inserted replaced
3280:0e7f32e78b4d 3281:f9b94a5b13ac
1 // ####ECOSHOSTGPLCOPYRIGHTBEGIN#### 1 // ####ECOSHOSTGPLCOPYRIGHTBEGIN####
2 // ------------------------------------------- 2 // -------------------------------------------
3 // This file is part of the eCos host tools. 3 // This file is part of the eCos host tools.
4 // Copyright (C) 1998, 1999, 2000, 2009 Free Software Foundation, Inc. 4 // Copyright (C) 1998, 1999, 2000, 2009, 2014 Free Software Foundation, Inc.
5 // 5 //
6 // This program is free software; you can redistribute it and/or modify 6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by 7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 or (at your option) any 8 // the Free Software Foundation; either version 2 or (at your option) any
9 // later version. 9 // later version.
867 } 867 }
868 } 868 }
869 } 869 }
870 TRACE(_T("ConnectSocketToSerial : done\n")); 870 TRACE(_T("ConnectSocketToSerial : done\n"));
871 CeCosSocket::CloseSocket(m_nAuxListenSock); 871 CeCosSocket::CloseSocket(m_nAuxListenSock);
872 CYG_UNUSED_PARAM(bool, rc);
872 } 873 }
873 874
874 static bool CALLBACK DerefBool(void *pParam) 875 static bool CALLBACK DerefBool(void *pParam)
875 { 876 {
876 return *(bool *)pParam; 877 return *(bool *)pParam;
933 bCanRun=false; 934 bCanRun=false;
934 } 935 }
935 SetExecutable(m_strExecutable); // to set stripped length and title 936 SetExecutable(m_strExecutable); // to set stripped length and title
936 RunLocal(); 937 RunLocal();
937 _tunlink(m_strExecutable); 938 _tunlink(m_strExecutable);
939 CYG_UNUSED_PARAM(bool, bCanRun);
938 } 940 }
939 sendResult(); 941 sendResult();
940 m_pSock->recvInteger(n); // receive an ack 942 m_pSock->recvInteger(n); // receive an ack
941 } else { 943 } else {
942 // Client-side GDB 944 // Client-side GDB