summaryrefslogtreecommitdiffstats
path: root/src/ntfs.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-11-16 12:53:21 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-11-16 12:53:21 +0100
commit07b1742903d2b483ca4afc1d39d1b644eb755e5a (patch)
treea72a91c3d25247474c5c91e5ce30a85c3e23d64d /src/ntfs.c
parent8453cfff02206ad932e8ddd3c24b34aa7c42af62 (diff)
Code cleanup after using LLVM/Clang Static Analyzer
Diffstat (limited to 'src/ntfs.c')
-rw-r--r--src/ntfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntfs.c b/src/ntfs.c
index 24acab0..11fdacd 100644
--- a/src/ntfs.c
+++ b/src/ntfs.c
@@ -309,7 +309,7 @@ static int ntfs_get_attr_aux(const char *attr_record, const int my_type, partiti
volume_name_length=sizeof(partition->fsname)-1;
for(name_it=attr_td_list_entry;(volume_name_length>0) && (*name_it!='\0') && (name_it[1]=='\0'); name_it+=2,volume_name_length--)
*dest++=*name_it;
- *dest++='\0'; /* 27 january 2003: Correct a bug found by Andreas du Plessis-Denz */
+ *dest='\0'; /* 27 january 2003: Correct a bug found by Andreas du Plessis-Denz */
}
return 1;
case 0x90: /* AT_INDEX_ROOT */