Fix static analysis warnings in NetworkView.