From: "Міхаіл T." Date: 2009-10-31T03:33:25+09:00 Subject: [ruby-core:26439] [Backport #2247] Fixing compiler warnings Issue #2247 has been updated by ������������ T.. Also, each occurrence of BIO_reset() triggers a warning like: ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_initialize': ext/openssl/ossl_pkey_dh.c:172: error: value computed is not used The following command (on Linux -- requires pcre in grep) silences all of them at once: find ext/openssl -type f -name '*.c' | xargs grep -P -l '\sBIO_reset' | xargs perl -p -i.iorig -e 's/(\s)BIO_reset/\1(void)BIO_rest/' It changes BIO_reset to (void)BIO_reset... ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2247 ---------------------------------------- http://redmine.ruby-lang.org