mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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
|
||||
|
||||
@@ -1048,7 +1048,7 @@ fflush(stdout);
|
||||
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