FreeBSD Bugzilla – Attachment 152505 Details for
Bug 197284
comms/hcidump fails compilation on gcc48 due to unused-variable "error"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch removes unused ctr_type from print_rfcomm_hdr
patch-parser-rfcomm.c (text/plain), 572 bytes, created by
dewayne
on 2015-02-03 00:38:18 UTC
(
hide
)
Description:
Patch removes unused ctr_type from print_rfcomm_hdr
Filename:
MIME Type:
Creator:
dewayne
Created:
2015-02-03 00:38:18 UTC
Size:
572 bytes
patch
obsolete
>--- 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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197284
: 152505