before: #<Set: {"src/ssl_sock.c:1454:104: warning: unused parameter ‘al’ [-Wunused-parameter]\n int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg)\n ^~\n"}>
after: src/ssl_sock.c:1454:104: warning: unused parameter ‘al’ [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ^~
Signed-off-by: Lin Jiaxin ljx.joe@qq.com --- lib/error_messages.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/error_messages.rb b/lib/error_messages.rb index 3a74d29..5bbc329 100644 --- a/lib/error_messages.rb +++ b/lib/error_messages.rb @@ -43,9 +43,9 @@ class ErrorMessages def obtain_error_messages_by_errorid(errorid) error_messages_by_errorid = [] error_messages = obtain_error_messages - error_messages.each do | k, v | - if ("build-pkg." + build_pkg_error_id(k)) == errorid - error_messages_by_errorid << v + error_messages.each do |k, v| + if ('build-pkg.' + build_pkg_error_id(k)) == errorid + error_messages_by_errorid += v.to_a end end error_messages_by_errorid
Jiaxin,
btw, I find this output has many
## ______________1:stderr
Where "1" is never incremented for different errors:
http://183.134.196.212:11300/result/build-pkg/2020-12-05/vm-2p16g/archlinux-...
Thanks, Fengguang
On Tue, Dec 08, 2020 at 11:08:26AM +0800, Lin Jiaxin wrote:
before: #<Set: {"src/ssl_sock.c:1454:104: warning: unused parameter ‘al’ [-Wunused-parameter]\n int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg)\n ^~\n"}>
after: src/ssl_sock.c:1454:104: warning: unused parameter ‘al’ [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ^~
Signed-off-by: Lin Jiaxin ljx.joe@qq.com
lib/error_messages.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/error_messages.rb b/lib/error_messages.rb index 3a74d29..5bbc329 100644 --- a/lib/error_messages.rb +++ b/lib/error_messages.rb @@ -43,9 +43,9 @@ class ErrorMessages def obtain_error_messages_by_errorid(errorid) error_messages_by_errorid = [] error_messages = obtain_error_messages
- error_messages.each do | k, v |
if ("build-pkg." + build_pkg_error_id(k)) == errorid
error_messages_by_errorid << v
- error_messages.each do |k, v|
if ('build-pkg.' + build_pkg_error_id(k)) == errorid
end error_messages_by_erroriderror_messages_by_errorid += v.to_a end
-- 2.23.0