From 2a935d92384f70afbabfa2bbf6a982210f521b2b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 22 Jul 2025 09:21:20 -1000 Subject: [PATCH] preen --- esphome/components/api/api_pb2_dump.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/esphome/components/api/api_pb2_dump.cpp b/esphome/components/api/api_pb2_dump.cpp index 439c2d8a11..a2e69255e1 100644 --- a/esphome/components/api/api_pb2_dump.cpp +++ b/esphome/components/api/api_pb2_dump.cpp @@ -64,13 +64,6 @@ static void dump_field(std::string &out, const char *field_name, float value, in append_with_newline(out, buffer); } -static void dump_field(std::string &out, const char *field_name, double value, int indent = 2) { - char buffer[64]; - append_field_prefix(out, field_name, indent); - snprintf(buffer, 64, "%g", value); - append_with_newline(out, buffer); -} - static void dump_field(std::string &out, const char *field_name, uint64_t value, int indent = 2) { char buffer[64]; append_field_prefix(out, field_name, indent);