Fix compiler warning for unused variable.
Commit refactor the function lockIsHoldTillEndXact
but forgot to remove the unused variable. Just remove it to
slient compiler.
@@ -58,13 +58,10 @@ lockEqual(LockInstanceData *lock1, LockInstanceData *lock2)
static bool
lockIsHoldTillEndXact(LockInstanceData *lock)
{
- LOCKTAG *tag = &lock->locktag;
-
if (lock->holdTillEndXact)
return true;
/* FIXME: other types */
-
return false;
}
