PERFORCE change 203939 for review
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jan 3 20:44:55 UTC 2012
http://p4web.freebsd.org/@@203939?ac=10
Change 203939 by pjd at pjd_anger on 2012/01/03 20:44:37
Remove impossible condition. If we are here, the error variable
must be 0, so no need to check it.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#16 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#16 (text+ko) ====
@@ -26,7 +26,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#15 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#16 $
*/
#include <sys/param.h>
@@ -852,8 +852,6 @@
/* Success. */
*newfile = fn;
close(fd);
- if (error)
- return (error);
if (saverrno) {
/*
* auditctl() failed but still
More information about the p4-projects
mailing list