Uninitialized state/local variables are assigned zero values by the compiler and may cause unintended results e.g. transferring tokens to zero address. Explicitly initialize all state/local variables. (see here and here)
- Uninitialized State/Local Variables
- Default Values -> Zero
- Address -> Zero
- Bool -> False
- Initialize Variables -> Avoid Errors