librpc/ndr: Remove confusing case where returned string pointer "as" could be NULL
authorAndrew Bartlett <abartlet@samba.org>
Sun, 5 Nov 2023 21:18:47 +0000 (10:18 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 13 Nov 2023 01:28:36 +0000 (01:28 +0000)
commit2b4a17f54fee552717068377dfc15f9999474fde
tree45cd4178c498b6bd4e5565847a3c4e613363d922
parent2955801491113200d7c5892839b9f0b47aabb300
librpc/ndr: Remove confusing case where returned string pointer "as" could be NULL

The failure to talloc_strdup("") is just an error and all other cases set the
string or given an error.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
librpc/ndr/ndr_string.c