]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restructure and use different variables in the tests that involve
authorSean Farley <scf@FreeBSD.org>
Sun, 3 Aug 2008 22:47:23 +0000 (22:47 +0000)
committerSean Farley <scf@FreeBSD.org>
Sun, 3 Aug 2008 22:47:23 +0000 (22:47 +0000)
commitee2889cb988af9aaf8cd3f0a208cf93efd9724fa
treea9ddf45fea1441f2618188f066b3d4243568aa35
parentfcae37c9eb43beb5883404865fef12a2598997bb
Restructure and use different variables in the tests that involve
environ[0] to be more obvious that environ is not NULL before environ[0]
is tested.  Although I believe the previous code worked, this change
improves code maintainability.

Reviewed by: ache
MFC after: 3 days
lib/libc/stdlib/getenv.c