From 08db1a719bc795c172132d63bc57edb4a7abb877 Mon Sep 17 00:00:00 2001 From: uvman Date: Sat, 28 Oct 2006 23:06:49 +0000 Subject: [PATCH] Aid basic static code checkers to see that ctx can not be null in this code path. --- libntfs/attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs/attrib.c b/libntfs/attrib.c index 814599e7..dd01e49c 100644 --- a/libntfs/attrib.c +++ b/libntfs/attrib.c @@ -1352,7 +1352,7 @@ err_out: err = 1; } else ntfs_attr_reinit_search_ctx(ctx); - if (!err) { + if (ctx) { err = ntfs_attr_lookup(na->type, na->name, na->name_len, 0, 0, NULL, 0, ctx); if (!err) {