1. 13 Feb, 2017 9 commits
  2. 10 Feb, 2017 5 commits
  3. 09 Feb, 2017 5 commits
  4. 08 Feb, 2017 7 commits
  5. 06 Feb, 2017 2 commits
  6. 04 Feb, 2017 3 commits
  7. 02 Feb, 2017 4 commits
  8. 27 Jan, 2017 3 commits
    • Merge pull request #4095 from mplough/master · dad3c319
      Fix uninitialized variable warning
      Edward Thomson committed
    • Fix uninitialized variable warning · d0c418c0
      Fix the following warning emitted by clang:
      [ 16%] Building C object CMakeFiles/libgit2_clar.dir/src/submodule.c.o
      /Users/mplough/devel/external/libgit2/src/submodule.c:408:6: warning: variable 'i' is used uninitialized whenever 'if' condition is true
            [-Wsometimes-uninitialized]
              if ((error = load_submodule_names(names, cfg)))
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/mplough/devel/external/libgit2/src/submodule.c:448:20: note: uninitialized use occurs here
              git_iterator_free(i);
                                ^
      /Users/mplough/devel/external/libgit2/src/submodule.c:408:2: note: remove the 'if' if its condition is always false
              if ((error = load_submodule_names(names, cfg)))
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/mplough/devel/external/libgit2/src/submodule.c:404:17: note: initialize the variable 'i' to silence this warning
              git_iterator *i;
                             ^
                              = NULL
      1 warning generated.
      Matthew Plough committed
  9. 24 Jan, 2017 2 commits