From 3bbc2fa2b9110b9fd051dccc00cb651ec2b62456 Mon Sep 17 00:00:00 2001 From: mohsaka <135669458+mohsaka@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:00:23 -0700 Subject: [PATCH] add return --- velox/functions/prestosql/types/IPAddressType.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/velox/functions/prestosql/types/IPAddressType.cpp b/velox/functions/prestosql/types/IPAddressType.cpp index 54554d833690..6b437dce0e4a 100644 --- a/velox/functions/prestosql/types/IPAddressType.cpp +++ b/velox/functions/prestosql/types/IPAddressType.cpp @@ -135,6 +135,7 @@ class IPAddressCastOperator : public exec::CastOperator { row, Status::UserError("Invalid IP address '{}'", ipAddressString)); } + return; } folly::IPAddress addr = maybeIp.value(); auto addrBytes = folly::IPAddress::createIPv6(addr).toByteArray();