diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-07 09:05:27 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-07 09:05:28 +0300 |
commit | 3a14fdec88125c4fd093f938cf406231b932e3a2 (patch) | |
tree | 1b67f5143fdd6b3be964a2e57ac65c557d1fe566 /builtin/diff.c | |
parent | 257507a35e1d13d8849bbdf9324a060232a82bdf (diff) | |
parent | 33de80b1d50773f79e380eff33b4fc5c8ae1dd25 (diff) |
Merge branch 'sl/const'
Code cleanup.
* sl/const:
various: tighten constness of some local variables
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index 74351a5757..9f6109224b 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -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); |