Commit 587bfd40 authored by devsaurus's avatar devsaurus
Browse files

fix unitialized value error in release build

parent ebee637a
......@@ -66,6 +66,7 @@ static int ldht_read_generic( lua_State *L, ldht_type_t type )
break;
default:
res = LDHT_INVALID_VALUE;
temp = humi = 0;
break;
}
lua_pushinteger( L, res );
......
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