1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-05 08:15:19 +00:00

cleanups for -Wpedantic; bugfix in RtclArgs.hpp

This commit is contained in:
wfjm
2018-09-28 19:51:19 +02:00
parent 700eb2349c
commit 970be66d07
24 changed files with 92 additions and 90 deletions

View File

@@ -1,6 +1,6 @@
// $Id: ReventLoop.cpp 983 2018-01-02 20:35:59Z mueller $
// $Id: ReventLoop.cpp 1049 2018-09-22 13:56:52Z mueller $
//
// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
@@ -185,7 +185,7 @@ void ReventLoop::EventLoop()
//! FIXME_docs
void ReventLoop::Dump(std::ostream& os, int ind, const char* text,
int detail) const
int /*detail*/) const
{
RosFill bl(ind);
os << bl << (text?text:"--") << "ReventLoop @ " << this << endl;

View File

@@ -1,6 +1,6 @@
// $Id: RlinkChannel.cpp 983 2018-01-02 20:35:59Z mueller $
// $Id: RlinkChannel.cpp 1049 2018-09-22 13:56:52Z mueller $
//
// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
@@ -68,7 +68,7 @@ bool RlinkChannel::Exec(RlinkCommandList& clist, RerrMsg& emsg)
//! FIXME_docs
void RlinkChannel::Dump(std::ostream& os, int ind, const char* text,
int detail) const
int /*detail*/) const
{
RosFill bl(ind);
os << bl << (text?text:"--") << "RlinkChannel @ " << this << endl;

View File

@@ -1,6 +1,6 @@
// $Id: RlinkCommandExpect.cpp 983 2018-01-02 20:35:59Z mueller $
// $Id: RlinkCommandExpect.cpp 1049 2018-09-22 13:56:52Z mueller $
//
// Copyright 2011-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2011-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
@@ -134,7 +134,7 @@ bool RlinkCommandExpect::BlockIsChecked(size_t ind) const
//! FIXME_docs
void RlinkCommandExpect::Dump(std::ostream& os, int ind, const char* text,
int detail) const
int /*detail*/) const
{
RosFill bl(ind);
os << bl << (text?text:"--") << "RlinkCommandExpect @ " << this << endl;

View File

@@ -1,6 +1,6 @@
// $Id: RlinkContext.cpp 983 2018-01-02 20:35:59Z mueller $
// $Id: RlinkContext.cpp 1049 2018-09-22 13:56:52Z mueller $
//
// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
@@ -57,7 +57,7 @@ RlinkContext::~RlinkContext()
//! FIXME_docs
void RlinkContext::Dump(std::ostream& os, int ind, const char* text,
int detail) const
int /*detail*/) const
{
RosFill bl(ind);
os << bl << (text?text:"--") << "RlinkContext @ " << this << endl;