lorawan-server icon indicating copy to clipboard operation
lorawan-server copied to clipboard

Fix some dialyzer warnings

Open NAR opened this issue 5 years ago • 0 comments

This pull request fixes two sets of dialyzer warnings:

  • It looks like the time field in the txq record can actually be undefined (for example when the rx2_rf exported function is called), so update the typespec to let the time to be undefined.
  • In the inc(undefined) clause in lorawan_utils the Num parameter could never be undefined (unless after a database upgrade?).

Generally, are you interested in similar dialyzer-related cleanups?

NAR avatar Mar 16 '20 13:03 NAR