summaryrefslogtreecommitdiff
path: root/source/Interpreter/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-11-25 21:00:58 +0000
committerEd Maste <emaste@FreeBSD.org>2014-11-25 21:00:58 +0000
commit0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch)
treec94307da318be46e5aeea1a325c1e91749506e4f /source/Interpreter/CommandObjectScript.cpp
parent03b99097822ca3ac69252d9afae716a584ed56c4 (diff)
Notes
Diffstat (limited to 'source/Interpreter/CommandObjectScript.cpp')
-rw-r--r--source/Interpreter/CommandObjectScript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Interpreter/CommandObjectScript.cpp b/source/Interpreter/CommandObjectScript.cpp
index aff507d98580..9c67e4253301 100644
--- a/source/Interpreter/CommandObjectScript.cpp
+++ b/source/Interpreter/CommandObjectScript.cpp
@@ -66,7 +66,7 @@ CommandObjectScript::DoExecute
ScriptInterpreter *script_interpreter = m_interpreter.GetScriptInterpreter ();
- if (script_interpreter == NULL)
+ if (script_interpreter == nullptr)
{
result.AppendError("no script interpreter");
result.SetStatus (eReturnStatusFailed);
@@ -75,7 +75,7 @@ CommandObjectScript::DoExecute
DataVisualization::ForceUpdate(); // script might change Python code we use for formatting.. make sure we keep up to date with it
- if (command == NULL || command[0] == '\0')
+ if (command == nullptr || command[0] == '\0')
{
script_interpreter->ExecuteInterpreterLoop ();
result.SetStatus (eReturnStatusSuccessFinishNoResult);