diff options
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 96787e87e9..dc9b4e8149 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1704,7 +1704,8 @@ static bool _get_and_validate_version(FILE *restoreFile, char &major, char &mino std::string* reason) { std::string dummy; - if (reason == 0) reason = &dummy; + if (reason == 0) + reason = &dummy; // Read first two bytes. char buf[2]; |