Date: Tue, 3 Jan 2012 20:44:55 GMT From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 203939 for review Message-ID: <201201032044.q03KitsZ052857@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@203939?ac=10 Change 203939 by pjd@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201032044.q03KitsZ052857>