Changes by: uvman
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357:/tmp/cvs-serv11019/libntfs
Modified Files:
attrib.c
Log Message:
Aid basic static code checkers to see that ctx can not be null in this code path.
Index: attrib.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -p -r1.228 -r1.229
--- attrib.c 27 Oct 2006 14:18:02 -0000 1.228
+++ attrib.c 28 Oct 2006 23:06:49 -0000 1.229
@@ -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) {
|