Commit 4e105e0
committed
Fix openssl compile warnings on Solaris
BIO_reset() needs a (void) cast, analogous to the other locations in this file.
/usr/openssl/3/include/openssl/bio.h:555:34: error: value computed is not used [-Werror=unused-value]
555 | # define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/runner/work/php-src/php-src/ext/openssl/openssl.c:1565:33: note: in expansion of macro ‘BIO_reset’
1565 | BIO_reset(bio_out);
| ^~~~~~~~~1 parent 1b7449f commit 4e105e0
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1562 | 1562 | | |
1563 | 1563 | | |
1564 | 1564 | | |
1565 | | - | |
| 1565 | + | |
1566 | 1566 | | |
1567 | 1567 | | |
1568 | 1568 | | |
| |||
2844 | 2844 | | |
2845 | 2845 | | |
2846 | 2846 | | |
2847 | | - | |
| 2847 | + | |
2848 | 2848 | | |
2849 | 2849 | | |
2850 | 2850 | | |
| |||
2863 | 2863 | | |
2864 | 2864 | | |
2865 | 2865 | | |
2866 | | - | |
| 2866 | + | |
2867 | 2867 | | |
2868 | 2868 | | |
2869 | 2869 | | |
| |||
3520 | 3520 | | |
3521 | 3521 | | |
3522 | 3522 | | |
3523 | | - | |
| 3523 | + | |
3524 | 3524 | | |
3525 | 3525 | | |
3526 | 3526 | | |
| |||
3540 | 3540 | | |
3541 | 3541 | | |
3542 | 3542 | | |
3543 | | - | |
| 3543 | + | |
3544 | 3544 | | |
3545 | 3545 | | |
3546 | 3546 | | |
| |||
0 commit comments