clang


Found
r1826928, r1718346

r1718346 | rhuijben | 2015-12-07 13:13:27 +0000 (Mon, 07 Dec 2015)

On the ra-git branch: Resolve a constness issues in a library private api.

Found by: clang

* subversion/libsvn_fs_git/fs_git.h
  (svn_fs_git__db_fetch_checksum): Make checksum const.

* subversion/libsvn_fs_git/git-revroot.c
  (fs_git_file_checksum): Update caller.

* subversion/libsvn_fs_git/gitdb.c
  (db_fetch_checksum,
   svn_fs_git__db_fetch_checksum): Make output argument const, like
     our sqlite api.


r1826928 | danielsh | 2018-03-16 09:05:45 +0000 (Fri, 16 Mar 2018)

* subversion/libsvn_client/shelf.c: Add newline at end of file.
    I would have added -Wno-newline-eof to configure's auto flags, but
    technically having no final newline is undefined behaviour.

Found by: clang
(-Wnewline-eof)