Wireshark-commits: [Wireshark-commits] master f59e694: Fix warning (turning error) when compiling w
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f59e69489d3cea7e7f6c7b6a4d377201496fdade
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
f59e694 by Joerg Mayer (jmayer@xxxxxxxxx):
Fix warning (turning error) when compiling with -O3
In file included from /home/jmayer/work/wireshark/git/epan/wslua/lrexlib_glib.c:199:0:
/home/jmayer/work/wireshark/git/epan/wslua/lrexlib_algo.h: In function ‘generic_find_func’:
/home/jmayer/work/wireshark/git/epan/wslua/lrexlib_algo.h:486:14: error: ‘ud’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
TUserdata *ud;
^
/home/jmayer/work/wireshark/git/epan/wslua/lrexlib_algo.h: In function ‘algf_gsub’:
/home/jmayer/work/wireshark/git/epan/wslua/lrexlib_algo.h:281:14: error: ‘ud’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
TUserdata *ud;
^
Change-Id: I835103ea562ced44bc3cce5fadf6115476a78d0e
Reviewed-on: https://code.wireshark.org/review/3568
Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
Actions performed:
from d9e5021 hip: fix infinite loop in dissect_hip_tlv
adds f59e694 Fix warning (turning error) when compiling with -O3
Summary of changes:
epan/wslua/lrexlib_glib.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)