fix(eoGnuplot): get rid of warnings about unused variables
This commit is contained in:
parent
8dd4f529f2
commit
1a61cd1f1c
1 changed files with 11 additions and 5 deletions
|
|
@ -56,22 +56,24 @@ eoGnuplot::~eoGnuplot()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAVE_GNUPLOT
|
||||||
void eoGnuplot::gnuplotCommand(const char *_command)
|
void eoGnuplot::gnuplotCommand(const char *_command)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_GNUPLOT
|
|
||||||
if(gpCom) {
|
if(gpCom) {
|
||||||
PipeComSend( gpCom, _command );
|
PipeComSend( gpCom, _command );
|
||||||
PipeComSend( gpCom, "\n" );
|
PipeComSend( gpCom, "\n" );
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
void eoGnuplot::gnuplotCommand(const char *)
|
||||||
|
{ }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAVE_GNUPLOT
|
||||||
void eoGnuplot::initGnuPlot(std::string _title, std::string _extra)
|
void eoGnuplot::initGnuPlot(std::string _title, std::string _extra)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_GNUPLOT
|
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
os << "250x150-0+" << 170 * numWindow++;
|
os << "250x150-0+" << 170 * numWindow++;
|
||||||
char *args[6];
|
char *args[6];
|
||||||
|
|
@ -89,8 +91,12 @@ void eoGnuplot::initGnuPlot(std::string _title, std::string _extra)
|
||||||
PipeComSend( gpCom, _extra.c_str() );
|
PipeComSend( gpCom, _extra.c_str() );
|
||||||
PipeComSend( gpCom, "\n" );
|
PipeComSend( gpCom, "\n" );
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
void eoGnuplot::initGnuPlot(std::string, std::string)
|
||||||
|
{ }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue