From d4556608c8c60d6f5bff0fe0abd7cf81f4f9c41c Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 22 Jul 2025 09:21:14 -1000 Subject: [PATCH] preen --- script/api_protobuf/api_protobuf.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/script/api_protobuf/api_protobuf.py b/script/api_protobuf/api_protobuf.py index 77cdc0b4a1..5bd7d3eede 100755 --- a/script/api_protobuf/api_protobuf.py +++ b/script/api_protobuf/api_protobuf.py @@ -2129,13 +2129,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);