]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: silence compiler warning in inet_ntop6
authorViktor Szakats <commit@vsz.me>
Mon, 4 Sep 2023 00:29:48 +0000 (00:29 +0000)
committerViktor Szakats <commit@vsz.me>
Mon, 4 Sep 2023 18:56:49 +0000 (18:56 +0000)
commit3a6287d72675ed9a3a0daf4adb9fe92dfd217f9d
treea6e4ede95fc390ce0d56b8e02def2f0fda23b47f
parent95a865b462195d9d847f7f2676f0c789179e2073
lib: silence compiler warning in inet_ntop6

```
./curl/lib/inet_ntop.c:121:21: warning: possible misuse of comma operator here [-Wcomma]
        cur.base = i, cur.len = 1;
                    ^
./curl/lib/inet_ntop.c:121:9: note: cast expression to void to silence warning
        cur.base = i, cur.len = 1;
        ^~~~~~~~~~~~
        (void)(     )
```

Closes #11790
lib/inet_ntop.c