From bbc2c4a6aba8df638bf27313050bae3a9ec33347 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Wed, 2 Oct 2024 22:10:58 +0300 Subject: [PATCH] Eliminate warning --- src/backend/replication/logical/message.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/replication/logical/message.c b/src/backend/replication/logical/message.c index b13f647cc08..6abb4c77d7a 100644 --- a/src/backend/replication/logical/message.c +++ b/src/backend/replication/logical/message.c @@ -113,7 +113,6 @@ wallog_file_descriptor(char const* path, int fd, uint64_t limit) else { off_t size = lseek(fd, 0, SEEK_END); - char* buf; elog(DEBUG1, "neon: writing contents of file %s, size %ld", path, (long)size); if (size < 0) elog(ERROR, "Failed to get size of file %s: %m", path);