mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
pidl: add "return ENOTSUP" for int return type in s3 template
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Mar 21 00:45:29 UTC 2024 on atb-devel-224
This commit is contained in:
parent
56719a5d10
commit
8f1a80147d
@ -74,6 +74,8 @@ $pad"."struct $fname *r)
|
||||
$res .= "\treturn WERR_NOT_SUPPORTED;\n";
|
||||
} elsif ($d->{RETURN_TYPE} eq "HRESULT") {
|
||||
$res .= "\treturn HRES_ERROR_NOT_SUPPORTED;\n";
|
||||
} elsif ($d->{RETURN_TYPE} eq "int") {
|
||||
$res .= "\treturn ENOTSUP;\n";
|
||||
}
|
||||
|
||||
$res .= "}
|
||||
|
Loading…
x
Reference in New Issue
Block a user