Skip to content

Commit 1ad9574

Browse files
committed
Minor comment change
1 parent 10e0069 commit 1ad9574

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

offload/libomptarget/omptarget.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,8 +1917,7 @@ static int processDataBefore(ident_t *Loc, int64_t DeviceId, void *HostPtr,
19171917
// ArgBases[I] is HstPtrBase
19181918
HstPteeBase = *reinterpret_cast<void **>(HstPtrBase);
19191919
HstPteeBegin = Args[I];
1920-
HstPtrBegin =
1921-
ArgBases[I]; // Allocate memory for the pointer variable itself
1920+
HstPtrBegin = ArgBases[I];
19221921
}
19231922
TgtBaseOffset = (intptr_t)HstPtrBase - (intptr_t)HstPtrBegin;
19241923
// Corresponding-pointer-initialization is a special case of firstprivate,

0 commit comments

Comments
 (0)