minor fixes

remove unreachable code
add parameter checks to mbus_data_bcd_encode
init time structure in mbus_data_tm_decode as possible
mark falltrough for splint
remove unused variable val
fix removed realloc
This commit is contained in:
Stefan Wahren
2013-05-04 22:43:23 +02:00
parent ee209023b8
commit c59e763a84
2 changed files with 26 additions and 23 deletions

View File

@ -768,7 +768,6 @@ int mbus_fixed_normalize(int medium_unit, long medium_value, char **unit_out, do
exponent = 0.0;
*value_out = 0.0;
return -1;
break;
}
return -2;