Date: Sun, 12 Sep 2004 04:37:22 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/71614: [PATCH] cleanup of the usr.sbin/ugidfw code Message-ID: <200409120237.i8C2bM7U007088@kulesh.obluda.cz> Resent-Message-ID: <200409120240.i8C2eMGJ086904@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71614 >Category: bin >Synopsis: [PATCH] cleanup of the usr.sbin/ugidfw code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 12 02:40:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 5.3-BETA3 i386 >Organization: Obludarium >Environment: System: FreeBSD kulesh.obluda.cz 5.3-BETA3 FreeBSD 5.3-BETA3 #8: Sun Sep 5 07:06:40 CEST 2004 dan@kulesh.obluda.cz:/usr/obj/usr/src/sys/Dan i386 $FreeBSD: src/usr.sbin/ugidfw/ugidfw.c,v 1.2 2004/02/25 03:59:56 rwatson >Description: There are more than 5000 warnings issued during "make buildworld". Some of them are false positives, but some of them are sign of true errors. Nobody is upset by warnings due it's amount, so some errors remain uncorrected. I want to cleanup the code-base from warnings, so warnings will become "attention mark" again. usr.sbin/ugidfw/ugidfw.c:67: warning: unused variable `value' usr.sbin/ugidfw/ugidfw.c:69: warning: unused variable `endp' >How-To-Repeat: N/A >Fix: *** usr.sbin/ugidfw/ugidfw.c.ORIG Sun Sep 5 18:37:32 2004 --- usr.sbin/ugidfw/ugidfw.c Sun Sep 5 18:38:10 2004 *************** *** 64,72 **** { char errstr[BUFSIZ]; struct mac_bsdextended_rule rule; - long value; int error, rulenum; - char *endp; error = bsde_parse_rule(argc, argv, &rule, BUFSIZ, errstr); if (error) { --- 64,70 ---- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409120237.i8C2bM7U007088>