Removed some useless variable assignments
Fixed potential crash with uninitialized variables
Merge pull request #2659 from swisspol/static_analysis

Fixed the most obvious Clang static analyzer warnings
revert tests: always use core.autocrlf=false in tests
Merge pull request #2669 from ethomson/revert_test_fix

revert tests: always use core.autocrlf=false in tests
Add test script
Added Xcode script
Changed context_lines and interhunk_lines to uint32_t to match struct s_xdemitconf