commit | f81ce4a37467f47ae39873fc65eb8101af1b2631 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Mon Apr 24 10:49:17 2017 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 25 14:32:47 2017 +0000 |
tree | cbc80e19732b7e460256aeecb6b07208088815e1 | |
parent | f58417747f869a1e6933f68618433d209fba1cc4 [diff] [blame] |
Refactoring: replace NULL by nullptr for pointers (3rd CL). This CL mainly handles passing/returning NULL to/from a function. BUG=angleproject:2001 Change-Id: I34802f792e710e3d7ff697cbe4701dc1bf5ab009 Reviewed-on: https://chromium-review.googlesource.com/485060 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/compiler/translator/VariableInfo.cpp b/src/compiler/translator/VariableInfo.cpp index bc84aea..7673edc 100644 --- a/src/compiler/translator/VariableInfo.cpp +++ b/src/compiler/translator/VariableInfo.cpp
@@ -60,7 +60,7 @@ return &((*infoList)[ii]); } - return NULL; + return nullptr; } }