Wireshark-commits: [Wireshark-commits] master 39a31c3: Fix warning: /home/jmayer/work/wireshark

Date Prev · Date Next · Thread Prev · Thread Next
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 1 May 2015 00:10:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=39a31c3205ed1f0691f5e55174abe84653bcf7b0
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

39a31c3 by Joerg Mayer (jmayer@xxxxxxxxx):

    Fix warning:
       /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c: In function ‘hd_inflate_remove_bufs_with_name’:
    /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c:1736:10: error: variable ‘rv’ set but not used [-Werror=unused-but-set-variable]
       size_t rv;
              ^
    turning error.
    
    Change-Id: Ibd46013ddbdbdf634e7df1eb7dd50c60a1f62e26
    Reviewed-on: https://code.wireshark.org/review/8257
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  7a308e7   Fix some cases where we're shifting a signed 1 left.
    adds  39a31c3   Fix warning:    /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c: In function ‘hd_inflate_remove_bufs_with_name’: /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c:1736:10: error: variable ‘rv’ set but not used [-Werror=unused-but-set-variable]    size_t rv;           ^ turning error.


Summary of changes:
 epan/nghttp2/nghttp2_hd.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)