summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/samples/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount/samples/mount.c')
-rw-r--r--shlibs/mount/samples/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/samples/mount.c b/shlibs/mount/samples/mount.c
index 0a3c251bd..086391e90 100644
--- a/shlibs/mount/samples/mount.c
+++ b/shlibs/mount/samples/mount.c
@@ -101,7 +101,7 @@ static int print_all(struct libmnt_context *cxt, char *pattern, int show_label)
{
int rc = 0;
struct libmnt_table *tb;
- struct libmnt_iter *itr;
+ struct libmnt_iter *itr = NULL;
struct libmnt_fs *fs;
struct libmnt_cache *cache = NULL;