svn commit: samba r16721 - in trunk/source/popt: .

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


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

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

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

Modified:
   trunk/source/popt/popt.c


Changeset:
Modified: trunk/source/popt/popt.c
===================================================================
--- trunk/source/popt/popt.c	2006-07-01 01:03:01 UTC (rev 16720)
+++ trunk/source/popt/popt.c	2006-07-01 01:03:27 UTC (rev 16721)
@@ -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