vrclient: Remove unnecessary return value cast.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-10-04 22:05:02 +02:00 committed by Arkadiusz Hiler
parent f5ef49cf29
commit 5190d26e7e
107 changed files with 2790 additions and 2790 deletions

View file

@ -784,7 +784,7 @@ def handle_method_cpp(method, classname, out):
elif returns_record:
out(u' *params->_ret = ')
else:
out(f' params->_ret = ({declspec(method.result_type, "", "w_")})') # FIXME
out(u' params->_ret = ')
def param_call(name, param):
pfx = '&' if param.type.kind == TypeKind.POINTER else ''