summaryrefslogtreecommitdiff
path: root/t/t4018/php-function
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2025-11-17 20:46:14 +0000
committerJunio C Hamano <gitster@pobox.com>2025-11-17 14:19:21 -0800
commitaf3919816f20c7c54e6d377945b2f6344b3588fe (patch)
treea3c0c713eb8bb18743d43a4c177a627764218d7f /t/t4018/php-function
parentbb5c624209fcaebd60b9572b2cc8c61086e39b57 (diff)
mingw: avoid the comma operator
The pattern `return errno = ..., -1;` is observed several times in `compat/mingw.c`. It has served us well over the years, but now clang starts complaining: compat/mingw.c:723:24: error: possible misuse of comma operator here [-Werror,-Wcomma] 723 | return errno = ENOSYS, -1; | ^ See for example this failing workflow run: https://github.com/git-for-windows/git-sdk-arm64/actions/runs/15457893907/job/43513458823#step:8:201 Let's appease clang (and also reduce the use of the no longer common comma operator). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/php-function')
0 files changed, 0 insertions, 0 deletions