diff options
author | Karel Zak | 2019-04-15 13:35:21 +0200 |
---|---|---|
committer | Karel Zak | 2019-04-15 13:35:21 +0200 |
commit | 2e5ff9db30ba4bf70f2df8b37ee28c3805c28ed3 (patch) | |
tree | a99f2556fafca9bce442a766296649274bd5f857 /libmount | |
parent | build-sys: enable ASAN on travis-ci (diff) | |
download | kernel-qcow2-util-linux-2e5ff9db30ba4bf70f2df8b37ee28c3805c28ed3.tar.gz kernel-qcow2-util-linux-2e5ff9db30ba4bf70f2df8b37ee28c3805c28ed3.tar.xz kernel-qcow2-util-linux-2e5ff9db30ba4bf70f2df8b37ee28c3805c28ed3.zip |
libmount: fix compiler warning [-Wsometimes-uninitialized]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount')
-rw-r--r-- | libmount/src/tab_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c index 9b8bfc593..151130325 100644 --- a/libmount/src/tab_parse.c +++ b/libmount/src/tab_parse.c @@ -373,7 +373,7 @@ enomem: static int mnt_parse_swaps_line(struct libmnt_fs *fs, const char *s) { uint64_t num; - int rc; + int rc = 0; char *p; /* (1) source */ |