svn commit: samba r16720 - in branches/SAMBA_3_0/source/popt: .

jra at samba.org jra at samba.org
Sat Jul 1 01:03:02 GMT 2006


Author: jra
Date: 2006-07-01 01:03:01 +0000 (Sat, 01 Jul 2006)
New Revision: 16720

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16720

Log:
Fix bug #3874 (warning) reported by Jason Mader.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/popt/popt.c


Changeset:
Modified: branches/SAMBA_3_0/source/popt/popt.c
===================================================================
--- branches/SAMBA_3_0/source/popt/popt.c	2006-06-30 23:07:17 UTC (rev 16719)
+++ branches/SAMBA_3_0/source/popt/popt.c	2006-07-01 01:03:01 UTC (rev 16720)
@@ -443,8 +443,12 @@
 #endif
 
     rc = execvp(argv[0], (char *const *)argv);
-
-    return POPT_ERROR_ERRNO;
+    /* notreached */
+    if (rc) {
+        return POPT_ERROR_ERRNO;
+    }
+ 
+    return 0;
 }
 /*@=bounds =boundswrite @*/
 



More information about the samba-cvs mailing list