Pre-Submission Checklist
- [✓] Commit message has the format required by CONTRIBUTING guide
- [✓] Commits are split per component (core, individual modules, libs, utils, ...)
- [✓] Each component has a single commit (if not, squash them into one commit)
- [✓] No commits to README files for modules (changes must be done to docbook files
in doc/
subfolder, the README file is autogenerated)
Type Of Change
- [✓] Small bug fix (non-breaking change which fixes an issue)
Checklist:
- [✓] PR should be backported to stable branches
- [✓] Tested changes locally
Description
After enabling clang -Wall on, this warning showed up:
sipcapture.c:2580:5: warning: variable 'corrtmp' is used uninitialized whenever 'if' condition is false
[-Wsometimes-uninitialized]
if(correlation_id) {
^~~~~~~~~~~~~~
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1664
Commit Summary
- sipcapture: initialize variable
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.