Skip to content

Commit

Permalink
fs-metawrap: Removed unnecessary code.
Browse files Browse the repository at this point in the history
The caller already set success==FALSE if ostream was closed.
  • Loading branch information
sirainen committed Jun 2, 2016
1 parent 90ec94c commit f412ee7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib-fs/fs-metawrap.c
Expand Up @@ -383,8 +383,6 @@ static int fs_metawrap_write_stream_finish(struct fs_file *_file, bool success)
int ret;

if (_file->output != NULL) {
if (_file->output->closed)
success = FALSE;
if (_file->output == file->super_output)
_file->output = NULL;
else
Expand Down

0 comments on commit f412ee7

Please sign in to comment.