Skip to content

Commit

Permalink
[DELETE] Test commit that should fail on SonarCloud report
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspider committed Oct 29, 2024
1 parent d48da84 commit 1131c39
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,45 @@ const command_descriptor_t COMMAND_DESCRIPTORS[] = {
};
// clang-format on

int bla_bla_1() {
// do some useless computation
int result = 0;
for (int i = 0; i < 1000; i++) {
for (int j = 0; j < 1000; j++) {
for (int k = 0; k < 1000; k++) {
result += k;
}
}
}
return result;
}

int bla_bla_2() {
// do some useless computation
int result = 0;
for (int i = 0; i < 1000; i++) {
for (int j = 0; j < 1000; j++) {
for (int k = 0; k < 1000; k++) {
result += k;
}
}
}
return result;
}

int bla_bla_3() {
// do some useless computation
int result = 0;
for (int i = 0; i < 1000; i++) {
for (int j = 0; j < 1000; j++) {
for (int k = 0; k < 1000; k++) {
result += k;
}
}
}
return result;
}

void app_main() {
for (;;) {
// Length of APDU command received in G_io_apdu_buffer
Expand Down

0 comments on commit 1131c39

Please sign in to comment.