lorawan-server
lorawan-server copied to clipboard
Fix some dialyzer warnings
This pull request fixes two sets of dialyzer warnings:
- It looks like the time field in the
txqrecord can actually be undefined (for example when therx2_rfexported function is called), so update the typespec to let thetimeto beundefined. - In the
inc(undefined)clause inlorawan_utilstheNumparameter could never beundefined(unless after a database upgrade?).
Generally, are you interested in similar dialyzer-related cleanups?