Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff committed Sep 14, 2022
1 parent d70f39d commit 1c83594
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions exporters/otlp/test/otlp_http_metric_exporter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,16 +196,6 @@ class OtlpHttpMetricExporterTestPeer : public ::testing::Test
auto client = mock_otlp_client.second;
auto exporter = GetExporter(std::unique_ptr<OtlpHttpClient>{mock_otlp_http_client});

# if 0
bool attribute_storage_bool_value[] = {true, false, true};
int32_t attribute_storage_int32_value[] = {1, 2};
uint32_t attribute_storage_uint32_value[] = {3, 4};
int64_t attribute_storage_int64_value[] = {5, 6};
uint64_t attribute_storage_uint64_value[] = {7, 8};
double attribute_storage_double_value[] = {3.2, 3.3};
std::string attribute_storage_string_value[] = {"vector", "string"};
# endif

opentelemetry::sdk::metrics::SumPointData sum_point_data{};
sum_point_data.value_ = 10.0;
opentelemetry::sdk::metrics::SumPointData sum_point_data2{};
Expand Down Expand Up @@ -387,16 +377,6 @@ class OtlpHttpMetricExporterTestPeer : public ::testing::Test
auto client = mock_otlp_client.second;
auto exporter = GetExporter(std::unique_ptr<OtlpHttpClient>{mock_otlp_http_client});

# if 0
bool attribute_storage_bool_value[] = {true, false, true};
int32_t attribute_storage_int32_value[] = {1, 2};
uint32_t attribute_storage_uint32_value[] = {3, 4};
int64_t attribute_storage_int64_value[] = {5, 6};
uint64_t attribute_storage_uint64_value[] = {7, 8};
double attribute_storage_double_value[] = {3.2, 3.3};
std::string attribute_storage_string_value[] = {"vector", "string"};
# endif

opentelemetry::sdk::metrics::SumPointData sum_point_data{};
sum_point_data.value_ = 10.0;
opentelemetry::sdk::metrics::SumPointData sum_point_data2{};
Expand Down Expand Up @@ -627,16 +607,6 @@ class OtlpHttpMetricExporterTestPeer : public ::testing::Test
auto client = mock_otlp_client.second;
auto exporter = GetExporter(std::unique_ptr<OtlpHttpClient>{mock_otlp_http_client});

# if 0
bool attribute_storage_bool_value[] = {true, false, true};
int32_t attribute_storage_int32_value[] = {1, 2};
uint32_t attribute_storage_uint32_value[] = {3, 4};
int64_t attribute_storage_int64_value[] = {5, 6};
uint64_t attribute_storage_uint64_value[] = {7, 8};
double attribute_storage_double_value[] = {3.2, 3.3};
std::string attribute_storage_string_value[] = {"vector", "string"};
# endif

opentelemetry::sdk::metrics::SumPointData sum_point_data{};
sum_point_data.value_ = 10.0;
opentelemetry::sdk::metrics::SumPointData sum_point_data2{};
Expand Down

0 comments on commit 1c83594

Please sign in to comment.