2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>

PR 1693/filesystem
	* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
	checking incorrect pointer and thus had dead code.
This commit is contained in:
Joel Sherrill
2010-08-27 17:43:18 +00:00
parent ed4a3f6e36
commit b8dc838c14
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1693/filesystem
* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
checking incorrect pointer and thus had dead code.
2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com> 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1692/filesystem PR 1692/filesystem

View File

@@ -1048,7 +1048,7 @@ fflush(stdout);
return 0; return 0;
p2 = (block_p *)p1[ doubly ]; p2 = (block_p *)p1[ doubly ];
if ( !p ) if ( !p2 )
return 0; return 0;
return (block_p *)&p2[ singly ]; return (block_p *)&p2[ singly ];