From 2c51596edc7bb67a0be4c692b9f66c3c250feb07 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Sat, 26 Feb 2011 21:57:01 +0000
Subject: [PATCH 15/24] bindings/python: Initialize flags in jfsck()

Since flags is an optional parameter, we need to initialize it.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 bindings/python/libjio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/python/libjio.c b/bindings/python/libjio.c
index f147d65..7a8e182 100644
--- a/bindings/python/libjio.c
+++ b/bindings/python/libjio.c
@@ -900,7 +900,7 @@ It's a wrapper to jfsck().\n");
 static PyObject *jf_jfsck(PyObject *self, PyObject *args, PyObject *kw)
 {
 	int rv;
-	unsigned int flags;
+	unsigned int flags = 0;
 	char *name, *jdir = NULL;
 	struct jfsck_result res;
 	PyObject *dict;
-- 
1.6.2.2.646.gb214

