[Bug 90815] [smbfs] [patch] SMBFS with character conversions sometimes hangs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 23 Apr 2022 05:37:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=90815

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #175826|0                           |1
        is obsolete|                            |

--- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 233412
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233412&action=edit
Fix build Andrey's  patch at and after main git
8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1

At main git 8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1, unused-but-set-variables
are no longer allowed.
This breaks kernel build with Andrey's patch applied.
Fix this by deleting variable "error" definition and avoid setting "error" by
casting function iconv_conv() as void inside function smb_copy_iconv().
No functional change intended.

-- 
You are receiving this mail because:
You are the assignee for the bug.