This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit e45481b27637ea6a2ec7e1e9089e5386fe1bdfe9
Author: Gleb Khudyaev <[email protected]>
AuthorDate: Wed Oct 12 02:05:22 2022 +0300

    Removed unnecessary variable assignment.
    
    The same value is assigned to the variable at the moment
    of declaration (some lines before)
---
 src/backend/access/aocs/aocs_compaction.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/backend/access/aocs/aocs_compaction.c 
b/src/backend/access/aocs/aocs_compaction.c
index 34ac15cfe8..2dec50319f 100644
--- a/src/backend/access/aocs/aocs_compaction.c
+++ b/src/backend/access/aocs/aocs_compaction.c
@@ -118,8 +118,6 @@ AOCSSegmentFileTruncateToEOF(Relation aorel, int segno, 
AOCSVPInfo *vpinfo, AOVa
 
        Assert(RelationIsAoCols(aorel));
 
-       relname = RelationGetRelationName(aorel);
-
        for (j = 0; j < vpinfo->nEntry; ++j)
        {
                int64           segeof;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to