Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/net/lib/prometheus/formatter/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
ZTEST(test_formatter, test_prometheus_formatter_simple)
{
int ret;
char formatted[MAX_BUFFER_SIZE];
char formatted[MAX_BUFFER_SIZE] = { 0 };
struct prometheus_counter *counter;

Check notice on line 40 in tests/net/lib/prometheus/formatter/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

tests/net/lib/prometheus/formatter/src/main.c:40 - char formatted[MAX_BUFFER_SIZE] = { 0 }; + char formatted[MAX_BUFFER_SIZE] = {0};
char exposed[] = "# HELP test_counter Test counter\n"
"# TYPE test_counter counter\n"
"test_counter{test=\"counter\"} 1\n";
Expand Down
Loading