summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 16:19:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 16:20:36 +0100
commit63aec6c7aaa4cf0bf4349dcb934a72219d9aaf03 (patch)
treeb134cca7f32fd9da831d8ed4f93118450a0519c9 /jvmfwk
parenteb7d8ded9d2dbd70684950542c9a25d247f232a4 (diff)
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: Iee5d66a1c14e1583edb0945d23cec9986ce7a830
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx2
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
index 5809522518e6..7cc13ce11adf 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
@@ -98,7 +98,7 @@ char const* const* OtherInfo::getLibraryPaths(int* size)
return ar;
#else
*size = 0;
- return NULL;
+ return nullptr;
#endif
}
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
index ecd8efcc659e..29953a693bde 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
@@ -88,7 +88,7 @@ char const* const* SunInfo::getLibraryPaths(int* size)
return ar;
#else
*size = 0;
- return NULL;
+ return nullptr;
#endif
}