]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: avoid calling memset() unnecessarily
authorKarel Zak <kzak@redhat.com>
Thu, 24 Apr 2025 16:32:35 +0000 (18:32 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 24 Apr 2025 16:32:35 +0000 (18:32 +0200)
commit9e96e6ed9cce4cbaf3b9ca6e61d0b0ee070685e9
tree370e36489951bb05b004c97c8363b2d633f9738f
parentb3bb829106e18c01c1fd984b3f68f22eba2c0c19
libmount: avoid calling memset() unnecessarily

This is primarily to satisfy static analyzers, as memset() is defined
as a non-null function (although it does nothing when bufsiz=0).

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/fs_statmount.c