Files
redis/src
chenyang8094 cb625844bf Fix null pointer subtraction warning (#10498)
The warning:
```
pqsort.c:106:7: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
loop:   SWAPINIT(a, es);
        ^~~~~~~~~~~~~~~
pqsort.c:65:47: note: expanded from macro 'SWAPINIT'
#define SWAPINIT(a, es) swaptype = ((char *)a - (char *)NULL) % sizeof(long) || \
```
Clang version:
```
Apple clang version 13.1.6 (clang-1316.0.21.2)
Target: x86_64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
2022-04-04 18:38:18 +03:00
..
2022-03-30 15:47:06 +03:00
2022-04-04 08:38:41 +03:00
2022-03-09 13:55:17 +02:00
2022-03-30 15:47:06 +03:00
2022-03-30 15:47:06 +03:00
2020-04-24 17:11:21 -07:00
2022-03-09 13:58:23 +02:00
2021-12-19 17:52:23 +02:00
2022-02-28 10:59:16 +02:00
2020-10-27 15:04:18 +02:00
2022-01-06 13:39:38 +02:00
2022-03-09 13:58:23 +02:00
2022-03-09 13:58:23 +02:00
2020-05-05 23:35:08 -04:00
2022-01-06 17:59:37 +02:00
2019-11-19 17:23:47 +08:00
2022-03-30 15:47:06 +03:00
2022-01-02 16:54:47 -08:00
2022-03-09 13:58:23 +02:00
2022-03-30 15:47:06 +03:00
2019-10-02 11:30:20 +02:00
2022-03-30 15:47:06 +03:00
2022-03-30 15:47:06 +03:00
2021-07-10 10:04:54 -05:00
2020-07-21 08:13:05 +03:00
2022-03-30 15:47:06 +03:00
2022-03-09 13:58:23 +02:00