Skip to content
Snippets Groups Projects
Commit 0776a869 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4874] Fixed compilation warning

parent 9f15d3ce
No related branches found
No related tags found
No related merge requests found
...@@ -330,7 +330,7 @@ int DelayDetection::getMaxIndex (float *data, int size) ...@@ -330,7 +330,7 @@ int DelayDetection::getMaxIndex (float *data, int size)
{ {
float max = 0.0; float max = 0.0;
int k; int k = 0;
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
if (data[i] >= max) { if (data[i] >= max) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment