Wireshark-commits: [Wireshark-commits] master f708c5c: rv is only used in an assert. The assert onl
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 1 May 2015 00:51:06 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f708c5cb56135515b6b777f144e90d488870c470
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f708c5c by Joerg Mayer (jmayer@xxxxxxxxx):

    rv is only used in an assert. The assert only evaluates to code if
    NDEBUG is undefined. Protect rv and its use accordingly.
    
    Change-Id: Iadbc55f74ccb797d7e812090140e636713658aa7
    Reviewed-on: https://code.wireshark.org/review/8260
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  cbeaf03   Revert "Fix warning:"
    adds  f708c5c   rv is only used in an assert. The assert only evaluates to code if NDEBUG is undefined. Protect rv and its use accordingly.


Summary of changes:
 epan/nghttp2/nghttp2_hd.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)