Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-11-27 11:19:11 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-12-01 09:45:00 +0300
commite32bbbf4d7adfdb22822c39991ea0e972a0a3453 (patch)
treef2da83e4c0047e757c52cfc5de1f0c49fce922fb /src/node_os.cc
parent85e34b0c73794d3a241aa9e0c6139292f445c30a (diff)
src: use nullptr instead of NULL
PR-URL: https://github.com/nodejs/node/pull/17373 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_os.cc')
-rw-r--r--src/node_os.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_os.cc b/src/node_os.cc
index f6dbf76b4c8..6698531998c 100644
--- a/src/node_os.cc
+++ b/src/node_os.cc
@@ -382,7 +382,7 @@ static void GetUserInfo(const FunctionCallbackInfo<Value>& args) {
&error);
MaybeLocal<Value> shell;
- if (pwd.shell == NULL)
+ if (pwd.shell == nullptr)
shell = Null(env->isolate());
else
shell = StringBytes::Encode(env->isolate(), pwd.shell, encoding, &error);