File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -767,11 +767,10 @@ module Public {
767767 */
768768 class UninitializedNode extends Node {
769769 LocalVariable v ;
770- int indirectionIndex ;
771770
772771 UninitializedNode ( ) {
773772 exists ( SsaImpl:: Definition def , SsaImpl:: SourceVariable sv |
774- def .getIndirectionIndex ( ) = indirectionIndex and
773+ def .getIndirectionIndex ( ) = 0 and
775774 def .getValue ( ) .asInstruction ( ) instanceof UninitializedInstruction and
776775 SsaImpl:: defToNode ( this , def , sv ) and
777776 v = sv .getBaseVariable ( ) .( SsaImpl:: BaseIRVariable ) .getIRVariable ( ) .getAst ( )
@@ -780,9 +779,6 @@ module Public {
780779
781780 /** Gets the uninitialized local variable corresponding to this node. */
782781 LocalVariable getLocalVariable ( ) { result = v }
783-
784- /** Gets the level of indirection to get to this node. */
785- int getIndirectionIndex ( ) { result = indirectionIndex }
786782 }
787783
788784 /**
You can’t perform that action at this time.
0 commit comments