summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-08-27 13:48:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-08-27 17:00:47 +0200
commita398dcdcfb27e4a2eac93c66dd609ecd00d6e2b0 (patch)
tree43ff59425bb94d5dac5ef1071bf7daf6aac2c927 /comphelper
parentc7c2b90ad4ed88856699dae2839a3437ec3a9c77 (diff)
loplugin:nullptr (macOS)
Change-Id: I5fc54c9005fbada4184c520d447276be2df16f0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121142 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/debuggerinfo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/debuggerinfo.cxx b/comphelper/source/misc/debuggerinfo.cxx
index eaa05d37c88c..1e7116a55300 100644
--- a/comphelper/source/misc/debuggerinfo.cxx
+++ b/comphelper/source/misc/debuggerinfo.cxx
@@ -55,7 +55,7 @@ bool isDebuggerAttached()
// Call sysctl.
size = sizeof(info);
- junk = sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, NULL, 0);
+ junk = sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, nullptr, 0);
assert(junk == 0);
// We're being debugged if the P_TRACED flag is set.