NL042: RESIZE and RESET can be merged

NL042: RESIZE and RESET can be merged

type: code-smell
priority: minor

#clumsy

Description

The statments RESIZE and RESET on arrays can be merged into one statement.

Before

RESIZE #ARR TO (1:25)
RESET #ARR(*)

After

RESIZE AND RESET #ARR TO (1:25)