tdtool: minor bugfix: clear timeBuf, so that it won't be used uninitialized

This commit is contained in:
Lauri Aarnio 2012-02-25 13:18:49 +02:00 committed by Micke Prag
parent 11950d6c2d
commit d51e301f6b

View file

@ -141,6 +141,7 @@ int list_devices() {
char humidityvalue[DATA_LENGTH];
humidityvalue[0] = 0;
char timeBuf[80];
timeBuf[0] = 0;
time_t timestamp = 0;
if (dataTypes & TELLSTICK_TEMPERATURE) {