commit 969ea98d51b11de10a979c1e8a73fbdd0c23e3b2 from: Stefan Sperling date: Mon Jan 24 08:04:11 2022 UTC remove non-reachable 'return NULL' statement from report_single_file_status() commit - cc488aa7db8918cffaac68ebc8fdde49511024e4 commit + 969ea98d51b11de10a979c1e8a73fbdd0c23e3b2 blob - 0f78ee740bd078fd66df140aa19f2527ef430e0f blob + 03ed920c296768d481852c8a28ea3acae1f379e1 --- lib/worktree.c +++ lib/worktree.c @@ -3573,7 +3573,6 @@ report_single_file_status(const char *path, const char return got_error_from_errno2("lstat", ondisk_path); return (*status_cb)(status_arg, GOT_STATUS_NONEXISTENT, GOT_STATUS_NO_CHANGE, path, NULL, NULL, NULL, -1, NULL); - return NULL; } if (S_ISREG(sb.st_mode) || S_ISLNK(sb.st_mode))