diff options
author | Jeremy Allison <jra@samba.org> | 2006-07-01 01:03:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:09 -0500 |
commit | acebbb7cd98b55d913caeb78341cf84dfa7d9c81 (patch) | |
tree | f6878376ce5c787d195bed5e2c36a10a6fbdd869 /source3 | |
parent | ce815f38a7fb94ba842ed757d75668a8c19e4e99 (diff) | |
download | samba-acebbb7cd98b55d913caeb78341cf84dfa7d9c81.tar.gz samba-acebbb7cd98b55d913caeb78341cf84dfa7d9c81.tar.bz2 samba-acebbb7cd98b55d913caeb78341cf84dfa7d9c81.zip |
r16720: Fix bug #3874 (warning) reported by Jason Mader.
Jeremy.
(This used to be commit 0606c954668a7bbc08e2338e268405981aa0ad04)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/popt/popt.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/popt/popt.c b/source3/popt/popt.c index ce3687fb64..45a8778b55 100644 --- a/source3/popt/popt.c +++ b/source3/popt/popt.c @@ -443,8 +443,12 @@ if (_popt_debug) #endif rc = execvp(argv[0], (char *const *)argv); - - return POPT_ERROR_ERRNO; + /* notreached */ + if (rc) { + return POPT_ERROR_ERRNO; + } + + return 0; } /*@=bounds =boundswrite @*/ |