Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 585ebb2

Browse files
committed
Fix review comments
1 parent 73f0218 commit 585ebb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lgc/patch/PatchInOutImportExport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1811,7 +1811,7 @@ Value *PatchInOutImportExport::patchFsGenericInputImport(Type *inputTy, unsigned
18111811
if (compIdx)
18121812
startChannel = cast<ConstantInt>(compIdx)->getZExtValue();
18131813

1814-
Value *loc;
1814+
Value *loc = nullptr;
18151815
if (locOffset) {
18161816
loc = ConstantInt::get(Type::getInt32Ty(*m_context), location + cast<ConstantInt>(locOffset)->getZExtValue());
18171817
assert((startChannel + numChannels) <= 4);

0 commit comments

Comments
 (0)