Navigation Menu

Skip to content

Commit

Permalink
libdeng2|SavedSession: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Mar 13, 2014
1 parent 6337fcb commit f8bf139
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doomsday/libdeng2/src/game/savedsession.cpp
Expand Up @@ -160,10 +160,8 @@ DENG2_PIMPL(SavedSession)
, status (other.status)
, needUpdateStatus(other.needUpdateStatus)
{
if(!other.metadata.isNull())
{
metadata.reset(new Metadata(*other.metadata));
}
DENG2_ASSERT(!other.metadata.isNull());
metadata.reset(new Metadata(*other.metadata));
}

static SessionMetadata *readMetadata(PackageFolder const &pack)
Expand Down

0 comments on commit f8bf139

Please sign in to comment.