Commit 189c7abd authored by Micha Müller's avatar Micha Müller
Browse files

Fix GCC maybe-uninitialized warning

parent 9c285623
......@@ -92,6 +92,8 @@ void AggregatorOperator::compute_internal(U_Ptr unit, vector<reading_t> *buffer)
reading.value = computeObs(_buffer);
break;
default:
LOG(warning) << _name << ": Encountered unknown operation!";
reading.value = 0;
break;
}
out->storeReading(reading);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment