projects
/
platform
/
upstream
/
glslang.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use nullptr where possible instead of NULL or 0
[platform/upstream/glslang.git]
/
glslang
/
MachineIndependent
/
linkValidate.cpp
diff --git
a/glslang/MachineIndependent/linkValidate.cpp
b/glslang/MachineIndependent/linkValidate.cpp
index
fab65a7
..
ff97614
100644
(file)
--- a/
glslang/MachineIndependent/linkValidate.cpp
+++ b/
glslang/MachineIndependent/linkValidate.cpp
@@
-1383,7
+1383,7
@@
void TIntermediate::checkCallGraphCycles(TInfoSink& infoSink)
TCall* newRoot;
do {
// See if we have unvisited parts of the graph.
- newRoot =
0
;
+ newRoot =
nullptr
;
for (TGraph::iterator call = callGraph.begin(); call != callGraph.end(); ++call) {
if (! call->visited) {
newRoot = &(*call);