Merge branch 'sl/const'
Code cleanup. * sl/const: various: tighten constness of some local variables
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user