buglwIP - A Lightweight TCP/IP stack - Bugs: bug #54569, Compiler warning in ip4.c: unused...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #54569: Compiler warning in ip4.c: unused parameter dest

Submitter:  Ole Christensen <ole_c>
Submitted:  Sat 25 Aug 2018 09:34:42 AM UTC
   
 
Category:  IPv4 Severity:  3 - Normal
Item Group:  Compiler Warning Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  2.1.0
lwIP version:  Other

Wed 29 Aug 2018 06:56:39 AM UTC, comment #1: 

Fixed, thanks for reporting!

Dirk Ziegelmeier <dziegel>
Group administrator
Sat 25 Aug 2018 09:34:42 AM UTC, original submission:  

Version lwip-STABLE-2_1_0_RC1:

If LWIP_SINGLE_NETIF is defined to 1 and debugging via LWIP_DEBUGF() is disabled, gcc issues a warning about the unused parameter 'dest'.

Fix:

struct netif *
ip4_route(const ip4_addr_t *dest)
{

>   (void) dest;
>

#if !LWIP_SINGLE_NETIF
  struct netif *netif;

Cheers, Ole

Ole Christensen <ole_c>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by ole_c (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-29 dziegel StatusNone Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.1.0

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code