Skip to content

Commit 876d8c9

Browse files
committed
Rename member variable exceptionOutput=>mExceptionOutput
1 parent 4561229 commit 876d8c9

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

cli/cppcheckexecutor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#endif
7777

7878

79-
/*static*/ FILE* CppCheckExecutor::exceptionOutput = stdout;
79+
/*static*/ FILE* CppCheckExecutor::mExceptionOutput = stdout;
8080

8181
CppCheckExecutor::CppCheckExecutor()
8282
: _settings(nullptr), latestProgressOutputTime(0), errorOutput(nullptr), errorlist(false)
@@ -1063,14 +1063,14 @@ void CppCheckExecutor::reportErr(const ErrorLogger::ErrorMessage &msg)
10631063
}
10641064
}
10651065

1066-
void CppCheckExecutor::setExceptionOutput(FILE* exception_output)
1066+
void CppCheckExecutor::setExceptionOutput(FILE* exceptionOutput)
10671067
{
1068-
exceptionOutput=exception_output;
1068+
mExceptionOutput = exceptionOutput;
10691069
}
10701070

10711071
FILE* CppCheckExecutor::getExceptionOutput()
10721072
{
1073-
return exceptionOutput;
1073+
return mExceptionOutput;
10741074
}
10751075

10761076
bool CppCheckExecutor::tryLoadLibrary(Library& destination, const char* basepath, const char* filename)

cli/cppcheckexecutor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class CppCheckExecutor : public ErrorLogger {
9494
/**
9595
* @param exception_output Output file
9696
*/
97-
static void setExceptionOutput(FILE* exception_output);
97+
static void setExceptionOutput(FILE* exceptionOutput);
9898
/**
9999
* @return file name to be used for output from exception handler. Has to be either "stdout" or "stderr".
100100
*/
@@ -180,7 +180,7 @@ class CppCheckExecutor : public ErrorLogger {
180180
/**
181181
* Output file name for exception handler
182182
*/
183-
static FILE* exceptionOutput;
183+
static FILE* mExceptionOutput;
184184

185185
/**
186186
* Error output

0 commit comments

Comments
 (0)