lwip-commits
[Top][All Lists]
Advanced

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

Re: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master


From: sg
Subject: Re: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-238-g9e0b367
Date: Mon, 23 Jan 2017 21:14:30 +0100
User-agent: Type for Android

It's a function:
http://pubs.opengroup.org/onlinepubs/009604499/functions/index.html

And 'index' always potentially shadows a global. However, it's not a problem unless you include that header file and compile it as plain old C. Hard to find...
Am 23. Jan. 2017, um 21:04, Joel Cunningham <address@hidden> schrieb:
Good catch on the missing “int” parameter!  Just curious, where is the global variable named “index”?  Also there are a lot of other uses of local variables named “index” in LwIP code.  Do these also have a shadowing problem?

Joel


On Jan 23, 2017, at 1:21 PM, Dirk Ziegelmeier <address@hidden> wrote:

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
via 9e0b36747a3c046f874a7c8697f1d5209371ab72 (commit)
from b5011e7012b2894a36e4ec71fb725618f3a78f32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log

commit 9e0b36747a3c046f874a7c8697f1d5209371ab72
Author: Dirk Ziegelmeier <address@hidden>
Date: Mon Jan 23 20:21:49 2017 +0100

Fix warning about shadowing a global variable "index" in if.c




Summary of changes:
src/api/if.c | 8 ++++----
src/include/lwip/if.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
--
lwIP - A Lightweight TCPIP stack



lwip-commits mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-commits




lwip-commits mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-commits

reply via email to

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