Merge branch 'jk/fallthrough'
Many codepaths have been updated to squelch -Wimplicit-fallthrough warnings from Gcc 7 (which is a good code hygiene). * jk/fallthrough: consistently use "fallthrough" comments in switches curl_trace(): eliminate switch fallthrough test-line-buffer: simplify command parsing
This commit is contained in:
@ -113,6 +113,7 @@ static int cat_one_file(int opt, const char *exp_type, const char *obj_name,
|
||||
|
||||
if (textconv_object(path, obj_context.mode, &oid, 1, &buf, &size))
|
||||
break;
|
||||
/* else fallthrough */
|
||||
|
||||
case 'p':
|
||||
type = sha1_object_info(oid.hash, NULL);
|
||||
|
||||
Reference in New Issue
Block a user