We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91305b2 commit a6f2eeeCopy full SHA for a6f2eee
collector.c
@@ -122,13 +122,13 @@ get_next_observation(History *observations)
122
{
123
HistoryItem *result;
124
125
- result = &observations->items[observations->index];
126
- observations->index++;
127
if (observations->index >= observations->count)
128
129
observations->index = 0;
130
observations->wraparound = true;
131
}
+ result = &observations->items[observations->index];
+ observations->index++;
132
return result;
133
134
0 commit comments