Date: Fri, 20 Feb 2015 17:16:12 +0000 (UTC) From: Tilman Keskinoz <arved@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379452 - head/comms/hcidump/files Message-ID: <201502201716.t1KHGC68075260@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arved Date: Fri Feb 20 17:16:12 2015 New Revision: 379452 URL: https://svnweb.freebsd.org/changeset/ports/379452 QAT: https://qat.redports.org/buildarchive/r379452/ Log: Improve previous commit: Fix unused bug and disable Werror while here Suggested by: marino Added: head/comms/hcidump/files/patch-parser-rfcomm.c (contents, props changed) Modified: head/comms/hcidump/files/patch-parser-Makefile Modified: head/comms/hcidump/files/patch-parser-Makefile ============================================================================== --- head/comms/hcidump/files/patch-parser-Makefile Fri Feb 20 17:11:58 2015 (r379451) +++ head/comms/hcidump/files/patch-parser-Makefile Fri Feb 20 17:16:12 2015 (r379452) @@ -6,7 +6,7 @@ WARNS?= 2 -DEBUG_FLAGS= -g -CFLAGS= -O2 -+CWARNFLAGS+= -Wno-unused ++NO_WERROR= yes +CFLAGS?= -O2 NOPROFILE= 1 Added: head/comms/hcidump/files/patch-parser-rfcomm.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/hcidump/files/patch-parser-rfcomm.c Fri Feb 20 17:16:12 2015 (r379452) @@ -0,0 +1,16 @@ +--- parser/rfcomm.c.orig 2015-02-03 11:27:57.000000000 +1100 ++++ parser/rfcomm.c 2015-02-03 11:28:26.000000000 +1100 +@@ -49,11 +49,11 @@ + address_field addr = head->addr; + uint8_t ctr = head->control; + uint16_t ilen = head->length.bits.len; +- uint8_t ctr_type,pf,dlci,fcs; ++ uint8_t pf,dlci,fcs; + + dlci = GET_DLCI(addr); + pf = GET_PF(ctr); +- ctr_type = CLR_PF(ctr); ++/* ctr_type = CLR_PF(ctr); */ + fcs = *(ptr + len - 1); + + printf("cr %d dlci %d pf %d ilen %d fcs 0x%x ", addr.cr, dlci, pf, ilen, fcs);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502201716.t1KHGC68075260>