Update doc on uninitialized state variable (fix #782)

pull/801/head
Josselin 4 years ago
parent fedf24ce4f
commit 604b59e836
  1. 2
      slither/detectors/variables/uninitialized_state_variables.py

@ -41,7 +41,7 @@ contract Uninitialized{
Bob calls `transfer`. As a result, the Ether are sent to the address `0x0` and are lost. Bob calls `transfer`. As a result, the Ether are sent to the address `0x0` and are lost.
""" """
WIKI_RECOMMENDATION = """ WIKI_RECOMMENDATION = """
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero. Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
""" """
@staticmethod @staticmethod

Loading…
Cancel
Save