Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fokkonaut committed Jul 2, 2024
1 parent 78f74f6 commit f3ca4db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/engine/shared/snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ int CSnapshotDelta::CreateDelta(const CSnapshot *pFrom, CSnapshot *pTo, void *pD
const CSnapshotItem *pFromItem;
const CSnapshotItem *pCurItem;
const CSnapshotItem *pPastItem;
int SizeCount = 0;

pDelta->m_NumDeletedItems = 0;
pDelta->m_NumUpdateItems = 0;
Expand Down Expand Up @@ -327,7 +326,6 @@ int CSnapshotDelta::CreateDelta(const CSnapshot *pFrom, CSnapshot *pTo, void *pD
*pData++ = ItemSize/4;

mem_copy(pData, pCurItem->Data(), ItemSize);
SizeCount += ItemSize;
pData += ItemSize/4;
pDelta->m_NumUpdateItems++;
}
Expand Down

0 comments on commit f3ca4db

Please sign in to comment.