ttsnoop: resolve coverity 176047, 176046, 176044, 176043, 176042 and 176040
This commit is contained in:
@@ -89,7 +89,7 @@ char * snoopFile = 0;
|
||||
Boolean unlinkSnoopFile = True;
|
||||
char * traceFile = 0;
|
||||
Boolean unlinkTraceFile = True;
|
||||
const char * traceScript = 0;
|
||||
std::string traceScript;
|
||||
int globalTimeout = 20000;
|
||||
unsigned int globalSaveLines = 5000;
|
||||
const char * globalVersionString = "1.0";
|
||||
@@ -667,7 +667,7 @@ main(int argc, char **argv)
|
||||
std::ostringstream envStr;
|
||||
envStr << "TT_TRACE_SCRIPT=> ";
|
||||
envStr << traceFile << ends;
|
||||
traceScript = envStr.str().c_str();
|
||||
traceScript = envStr.str();
|
||||
if (optImmediateTracing) {
|
||||
turnOnTracing( 0, 0, 0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user