tdtool: minor bugfix: clear timeBuf, so that it won't be used uninitialized
This commit is contained in:
parent
11950d6c2d
commit
d51e301f6b
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue