git/compat
Johannes Schindelin 05ab795e44 mingw: avoid the comma operator (#5660)
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).
2025-08-07 19:17:22 +02:00
..
2024-10-25 14:02:04 -04:00
2022-05-02 09:50:37 -07:00
2022-05-02 09:50:37 -07:00
2024-06-14 10:26:33 -07:00
2021-10-29 15:00:58 -07:00