lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9219] [PATCH] IPv6: Fix compile error of ip6_frag.c


From: Axel Lin
Subject: [lwip-devel] [patch #9219] [PATCH] IPv6: Fix compile error of ip6_frag.c
Date: Wed, 11 Jan 2017 15:12:17 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?9219>

                 Summary: [PATCH] IPv6: Fix compile error of ip6_frag.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Wed 11 Jan 2017 03:12:15 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Fix below compile error:
../../../../lwip/src/core/ipv6/ip6_frag.c: In function ‘ip6_reass’:
../../../../lwip/src/core/ipv6/ip6_frag.c:533:20: error: declaration of
‘next_pbuf’ shadows a previous local [-Werror=shadow]
       struct pbuf* next_pbuf = iprh->next_pbuf;
                    ^~~~~~~~~
../../../../lwip/src/core/ipv6/ip6_frag.c:272:20: note: shadowed declaration
is here
   struct pbuf *q, *next_pbuf;
                    ^~~~~~~~~
cc1: all warnings being treated as errors
../Common.mk:93: recipe for target 'ip6_frag.o' failed
make: *** [ip6_frag.o] Error 1

Fixes: 7cedf7ae7133 ("IPv6: fragment reassembly fixes")



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 11 Jan 2017 03:12:15 PM GMT  Name:
0001-IPv6-Fix-compile-error-of-ip6_frag.c.patch  Size: 2kB   By: axellin

<http://savannah.nongnu.org/patch/download.php?file_id=39434>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9219>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]