diff --git a/src/backend/distributed/utils/citus_depended_object.c b/src/backend/distributed/utils/citus_depended_object.c index 63407b2d6..dc639b6e9 100644 --- a/src/backend/distributed/utils/citus_depended_object.c +++ b/src/backend/distributed/utils/citus_depended_object.c @@ -480,7 +480,7 @@ AnyObjectViolatesOwnership(DropStmt *dropStmt) Node *object = NULL; foreach_ptr(object, dropStmt->objects) { - Relation rel; + Relation rel = NULL; objectAddress = get_object_address(objectType, object, &rel, AccessShareLock, missingOk); relation = rel;