By default, it's disabled. Once enabled, the following code snippet should trigger a warning Dim intStartingValue as int=1 Dim intStartingValue as int=0