commit 13ff9e901c193017bf37229e261588b7bdbfe446 from: Stefan Sperling date: Sun Feb 10 15:53:56 2019 UTC use break instead of goto to exit loop; no functional change commit - 3fc0c068476d56f41d2283710e4235623f0a28f2 commit + 13ff9e901c193017bf37229e261588b7bdbfe446 blob - 85b43994373a22bf660576599ce36e27d21dad19 blob + 5d501fc0867dd9283c8d954134123191b1548362 --- lib/fileindex.c +++ lib/fileindex.c @@ -792,7 +792,7 @@ diff_fileindex_dir(struct got_fileindex *fileindex, if (asprintf(&de_path, "%s/%s", path, de->d_name) == -1) { err = got_error_from_errno(); - goto done; + break; } cmp = got_path_cmp((*ie)->path, de_path); free(de_path);