forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -931,7 +931,7 @@ block_p *IMFS_memfile_get_block_pointer(
|
||||
return 0;
|
||||
|
||||
p2 = (block_p *)p1[ doubly ];
|
||||
if ( !p )
|
||||
if ( !p2 )
|
||||
return 0;
|
||||
|
||||
return (block_p *)&p2[ singly ];
|
||||
|
||||
Reference in New Issue
Block a user