On November 26, 2014 9:17:34 AM CST, Gedare Bloom <ged...@rtems.org> wrote: >Again, I don't know why this is unecessary. Because str is never used?
Yes. >On Tue, Nov 25, 2014 at 6:02 PM, Joel Sherrill ><joel.sherr...@oarcorp.com> wrote: >> From: Josh Oguin <josh.og...@oarcorp.com> >> >> This was flagged by CodeSonar. >> --- >> cpukit/libcsupport/src/mount.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/cpukit/libcsupport/src/mount.c >b/cpukit/libcsupport/src/mount.c >> index d993686..0d66477 100644 >> --- a/cpukit/libcsupport/src/mount.c >> +++ b/cpukit/libcsupport/src/mount.c >> @@ -77,7 +77,6 @@ static rtems_filesystem_mount_table_entry_t >*alloc_mount_table_entry( >> >> memcpy( str, target, target_size ); >> mt_entry->target = str; >> - str += target_size; >> >> mt_entry->mounted = true; >> mt_entry->mt_fs_root = mt_fs_root; >> -- >> 1.9.3 >> >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel