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:42:52 +00:00
parent 6685b744d5
commit 5c758d1a8c
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>
PR 1692/filesystem

View File

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