libsmb: Use a direct struct initializer
authorVolker Lendecke <vl@samba.org>
Sun, 10 Mar 2019 14:40:45 +0000 (15:40 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 18 Mar 2019 19:21:23 +0000 (19:21 +0000)
commit068f42bed782f3489086909b202be942d1160845
tree7c70cf79c9107b4221ca7394b2c6083768caacfd
parent2f3e251dccbd2c7a79789b9a48c12c360a17fc91
libsmb: Use a direct struct initializer

There's a few ways to initialize a DATA_BLOB to NULL. There's the
variable data_blob_null, there's ZERO_STRUCTP, and the explicit
initializer. And there's the data_blob() macro which calls into
data_blob_talloc_named. You have to look at that routine to see that
this is nothing more than a ZERO_STRUCT() and not calling into
talloc. Choose the more direct way.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/smb2_create_blob.c