Skip to content

Commit

Permalink
Cleanup: Undefined behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 30, 2018
1 parent bffbbaa commit 6d28b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/apps/libdoomsday/src/filesys/fs_main.cpp
Expand Up @@ -940,7 +940,7 @@ File1 &FS1::interpret(FileHandle &hndl, String filePath, FileInfo const &info)
{
// Use a generic file.
File1 *container = (hndl.hasFile() && hndl.file().isContained())? &hndl.file().container() : 0;
interpretedFile = new File1(hndl, filePath, info, container);
interpretedFile = new File1(&hndl, filePath, info, container);
}

DENG2_ASSERT(interpretedFile);
Expand Down

0 comments on commit 6d28b6a

Please sign in to comment.