From: Jean-Pierre A. <jp...@us...> - 2010-01-21 08:13:36
|
Update of /cvsroot/ntfs-3g/ntfs-3g/libntfs-3g In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv2013/ntfs-3g/libntfs-3g Modified Files: Tag: PERMISSION_HANDLING_BRANCH attrib.c Log Message: Removed an unneeded variable (Fabian Keil) Index: attrib.c =================================================================== RCS file: /cvsroot/ntfs-3g/ntfs-3g/libntfs-3g/attrib.c,v retrieving revision 1.22.2.43 retrieving revision 1.22.2.44 diff -u -d -r1.22.2.43 -r1.22.2.44 --- attrib.c 16 Jan 2010 18:17:55 -0000 1.22.2.43 +++ attrib.c 21 Jan 2010 08:13:27 -0000 1.22.2.44 @@ -3447,7 +3447,6 @@ { ntfs_inode *base_ni, *ni; ATTR_TYPES type; - int err; if (!ctx || !ctx->ntfs_ino || !ctx->mrec || !ctx->attr) { errno = EINVAL; @@ -3472,7 +3471,7 @@ if (ntfs_attrlist_entry_add(ni, ctx->attr)) ntfs_log_trace("Rollback failed. Leaving inconstant " "metadata.\n"); - err = EIO; + errno = EIO; return -1; } ntfs_inode_mark_dirty(ni); |