lwip-commits
[Top][All Lists]
Advanced

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

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


From: Simon Goldschmidt
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 18fcc1d50425817bc9ab85cfc8e74d4a1c9f0ac5
Date: Tue, 9 Aug 2016 19:52:32 +0000 (UTC)

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  18fcc1d50425817bc9ab85cfc8e74d4a1c9f0ac5 (commit)
      from  5c0944e01ab00135fd7e984b6abe3004a980f347 (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 18fcc1d50425817bc9ab85cfc8e74d4a1c9f0ac5
Author: Axel Lin <address@hidden>
Date:   Tue Aug 9 21:52:13 2016 +0200

    [PATCH] debug: Add braces around empty body in an 'if' statement
    
    I have below code in my cc.h:
    
     #ifdef MYSDK_LWIP_DEBUG
     #define LWIP_PLATFORM_ASSERT(x) MYSDK_ASSERTION_FAIL_ACTION()
     #else
     #define LWIP_PLATFORM_ASSERT(x)
     #endif /* ifdef MYSDK_LWIP_DEBUG */
    
    I got below error when in non-debug build:
    src/include/lwip/debug.h:76:32: error: suggest braces around empty body in 
an 'if' statement [-Werror=empty-body]
       LWIP_PLATFORM_ASSERT(message); } while(0)
                                    ^
    Fix the build error by adding braces around empty body in an 'if' statement.
    
    Signed-off-by: Axel Lin <address@hidden>
    Signed-off-by: sg <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 src/include/lwip/debug.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


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



reply via email to

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