Skip to content
Snippets Groups Projects
Commit 00b1ec57 authored by Florian Fischer's avatar Florian Fischer
Browse files

Merge branch 'fix-build-for-gcc-12.1' into 'master'

echoclient: initialize variable to fix building with gcc 12.1

See merge request i4/manycore/emper!388
parents beb90b2e c141de73
No related branches found
No related tags found
No related merge requests found
......@@ -628,7 +628,7 @@ auto main(int argc, char* argv[]) -> int {
}
auto connect_duration = duration_cast<nanoseconds>(echo_start - connect_start).count();
uint64_t echoDurationUntilTermination;
uint64_t echoDurationUntilTermination = 0;
if (execution_seconds) {
echoDurationUntilTermination =
duration_cast<nanoseconds>(echoTerminationTime - echo_start).count();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment