Commit ea75dbeb authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed unused variable operatorArg.

parent f6f7357c
......@@ -61,7 +61,6 @@ Process::Process(int p_ID, const char *p_operatorName, const char *p_operatorCom
m_oargc = 0;
m_operatorCommand = "UNINITALIZED";
operatorArg = "UNINITALIZED";
m_noper = 0;
initProcess(p_operatorName, p_operatorCommand);
......@@ -73,9 +72,7 @@ Process::setOperatorArgv(const char *operatorArguments)
if (operatorArguments)
{
m_oargv.clear();
char *operatorArg = strdup(operatorArguments);
// fprintf(stderr, "processDefArgument: %d %s\n", oargc, operatorArg);
Debug(PROCESS && strchr(operatorArg, ',') != nullptr, "Setting operator arguments: %s", operatorArguments);
Debug(PROCESS && strchr(operatorArguments, ',') != nullptr, "Setting operator arguments: %s", operatorArguments);
std::istringstream f(operatorArguments);
std::string s;
......@@ -98,10 +95,11 @@ Process::setOperatorArgv(const char *operatorArguments)
m_oargc = m_oargv.size();
}
bool
Process::inputIsVariable()
{
return m_module.streamInCnt == -1;
return m_module.streamInCnt == -1;
}
void
......
......@@ -70,7 +70,6 @@ public:
int m_streamCnt;
char const *m_operatorCommand;
char const *operatorName;
char const *operatorArg;
const char *m_obase;
char prompt[64];
......@@ -164,8 +163,7 @@ private:
void defPrompt();
/**
* Splits the operator arguments stores them.
* Operator arguments are stored as char arrays and appended with
* a zero termination.
* Operator arguments are stored as char arrays and appended with a zero termination.
*/
void setOperatorArgv(const char *operatorArguments);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment