diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 16:19:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 16:20:35 +0100 |
commit | 48686457c762bc1f1ad414f6e609b7bc56f958b5 (patch) | |
tree | 5b8d447401a29a44c7fb7a5506b2783f37b5730e /desktop | |
parent | 1d2a407d90c140e2edab6390c7d46814993b988f (diff) |
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: Ifbd1840464debfcdd0d390becc3fd72596c56669
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 97a6c2494d45..3927840c44a2 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1155,7 +1155,7 @@ void restartOnMac(bool passArguments) { { argPtrs.push_back(i->getStr()); } - argPtrs.push_back(0); + argPtrs.push_back(nullptr); execv(execPath8.getStr(), const_cast< char ** >(&argPtrs[0])); if (errno == ENOTSUP) { // happens when multithreaded on OS X < 10.6 pid_t pid = fork(); |