Merge branch 'sl/const'

Code cleanup.

* sl/const:
  various: tighten constness of some local variables
This commit is contained in:
Junio C Hamano
2019-02-06 22:05:27 -08:00
4 changed files with 15 additions and 15 deletions

View File

@ -103,7 +103,7 @@ static int builtin_diff_blobs(struct rev_info *revs,
int argc, const char **argv,
struct object_array_entry **blob)
{
unsigned mode = canon_mode(S_IFREG | 0644);
const unsigned mode = canon_mode(S_IFREG | 0644);
if (argc > 1)
usage(builtin_diff_usage);