This patch fixes the following warning: prints.c:403:20: warning: ‘num’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx> --- reiserfscore/prints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reiserfscore/prints.c b/reiserfscore/prints.c index ffe86fc..95e3014 100644 --- a/reiserfscore/prints.c +++ b/reiserfscore/prints.c @@ -384,7 +384,7 @@ void print_indirect_item (FILE * fp, struct buffer_head * bh, int item_num) struct item_head * ih; unsigned int j; __u32 * unp, prev = INT_MAX; - int num; + int num = 0; ih = B_N_PITEM_HEAD (bh, item_num); unp = (__u32 *)B_I_PITEM (bh, ih); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html