Skip to content

Commit

Permalink
Fix Prefast warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatd committed May 11, 2017
1 parent 4360825 commit b3aeb30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Runtime/Library/JavascriptArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5220,6 +5220,7 @@ namespace Js
{
SparseArraySegment<T>* headSeg = (SparseArraySegment<T>*)array->head;

AnalysisAssert(headSeg);
SparseArraySegment<T>* newHeadSeg = SparseArraySegment<T>::template AllocateSegmentImpl<false>(recycler,
headSeg->left, headSeg->length, headSeg->size, headSeg->next);

Expand Down

0 comments on commit b3aeb30

Please sign in to comment.