This has arisen while looking at another issue. I've found that a value from a HMI is written to a DB. Within one function they've taken that DB variable integer, written it to a temporary variable integer, then used that within the function. Why? The value isn't processed in any way that changes it, so why write it to the temp in the first place?