[Libreoffice-commits] core.git: comphelper/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 27 15:01:21 UTC 2021


 comphelper/source/misc/debuggerinfo.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a398dcdcfb27e4a2eac93c66dd609ecd00d6e2b0
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 27 13:48:58 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Aug 27 17:00:47 2021 +0200

    loplugin:nullptr (macOS)
    
    Change-Id: I5fc54c9005fbada4184c520d447276be2df16f0f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121142
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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.


More information about the Libreoffice-commits mailing list