summaryrefslogtreecommitdiffstats
path: root/languages/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp')
-rw-r--r--languages/cpp/debugger/stty.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/languages/cpp/debugger/stty.cpp b/languages/cpp/debugger/stty.cpp
index cdf4c81e..ac3cd4e1 100644
--- a/languages/cpp/debugger/stty.cpp
+++ b/languages/cpp/debugger/stty.cpp
@@ -325,7 +325,6 @@ bool STTY::findExternalTTY(const TQString &termApp)
"exec<&-;exec>&-;" // close stdin and stdout
"while :;do sleep 3600;done");
const char* scriptStr = script.latin1();
- const char* end = 0;
if ( termApp == "konsole" )
{
@@ -333,14 +332,14 @@ bool STTY::findExternalTTY(const TQString &termApp)
"-caption", i18n("kdevelop: Debug application console").local8Bit().data(),
"-e", "sh",
"-c", scriptStr,
- end);
+ NULL);
}
else
{
::execlp( prog, prog,
"-e", "sh",
"-c", scriptStr,
- end);
+ NULL);
}
// Should not get here, as above should always work