ssh: remove check for a NULL pointer (!) #2111

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Owner

bagder commented Nov 24, 2017

With this check present, scan-build warns that we might dereference this
point in other places where it isn't first checked for NULL. Thus, if it
can be NULL we have a problem on a few places. However, this pointer
should not be possible to be NULL here so I remove the check and thus
also three different scan-build warnings.

ssh: remove check for a NULL pointer (!)
With this check present, scan-build warns that we might dereference this
point in other places where it isn't first checked for NULL. Thus, if it
*can* be NULL we have a problem on a few places. However, this pointer
should not be possible to be NULL here so I remove the check and thus
also three different scan-build warnings.

@bagder bagder closed this in c79b2ca Nov 25, 2017

@bagder bagder deleted the bagder/ssh-remove-NULL-check branch Nov 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment