summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys-utils/losetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index e0676c9fd..8ed9a1e4b 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -225,7 +225,7 @@ static int set_scols_data(struct loopdev_cxt *lc, struct libscols_line *ln)
const char *p = NULL; /* external data */
char *np = NULL; /* allocated here */
uint64_t x = 0;
- int rc;
+ int rc = 0;
switch(get_column_id(i)) {
case COL_NAME: