]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r299022:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 May 2016 00:35:41 +0000 (00:35 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 May 2016 00:35:41 +0000 (00:35 +0000)
commitc6903ae8ed3e1fa2bf935a7b96f741e749921d43
treeb17a558aba90702adf18aaf5c2cb5429c31f6b9a
parent11598f5c58308da85828ee7a431505d648c8ec13
MFstable/10 r299022:

MFC r298450:

Simplify always evaluated branch (`e != NULL`)

- xalloc(..) ensures that e will be non-null via malloc + err.
- `e` is already dereferenced above, so logically it's impossible
  to hit the lower test without crashing if it was indeed NULL.

CID: 1007408

git-svn-id: svn://svn.freebsd.org/base/stable/9@299023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/bsnmp/gensnmptree/gensnmptree.c