summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/internal.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-18 15:35:04 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-18 16:21:11 +0100
commit3bf38f07f0172b4698c205f72d923e9a37e53da7 (patch)
tree1e23d307e65c667da14558426872612ef8941ee8 /lib/sqfs/comp/internal.h
parent844fdd42f03a633f1dbce5d90b2ecf44698cf8b0 (diff)
libsqfs: Initialize the return value in sqfs_compressor_create
Initialize the output compressor pointer to NULL, so if the function fails, the value is propperly initialized to a NULL pointer instead of relying on the function user to initialize it. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp/internal.h')
0 files changed, 0 insertions, 0 deletions