git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce815f3
)
r16720: Fix bug #3874 (warning) reported by Jason Mader.
author
Jeremy Allison
<jra@samba.org>
Sat, 1 Jul 2006 01:03:01 +0000
(
01:03
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:19:09 +0000
(11:19 -0500)
Jeremy.
(This used to be commit
0606c954668a7bbc08e2338e268405981aa0ad04
)
source3/popt/popt.c
patch
|
blob
|
history
diff --git
a/source3/popt/popt.c
b/source3/popt/popt.c
index ce3687fb64e99e1eff4e48e7927f4711eb115c18..45a8778b55f441789ee0945e7a6eb2e40eff6d53 100644
(file)
--- 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 @*/