diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-17 17:34:20 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-12-17 18:13:28 +0100 |
| commit | 89802fe3eea857bae3a4f4f393de92af0915facd (patch) | |
| tree | 90ca518364768b73da454b6f782130e13fd48ef3 /src/qt/intro.cpp | |
| parent | Merge pull request #5488 (diff) | |
| parent | make all catch() arguments const (diff) | |
| download | discoin-89802fe3eea857bae3a4f4f393de92af0915facd.tar.xz discoin-89802fe3eea857bae3a4f4f393de92af0915facd.zip | |
Merge pull request #5438
27df412 make all catch() arguments const (Philip Kaufmann)
Diffstat (limited to 'src/qt/intro.cpp')
| -rw-r--r-- | src/qt/intro.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 7618bff69..65486a02f 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -95,7 +95,7 @@ void FreespaceChecker::check() replyMessage = tr("Path already exists, and is not a directory."); } } - } catch(fs::filesystem_error &e) + } catch (const fs::filesystem_error&) { /* Parent directory does not exist or is not accessible */ replyStatus = ST_ERROR; @@ -180,7 +180,7 @@ void Intro::pickDataDirectory() try { TryCreateDirectory(GUIUtil::qstringToBoostPath(dataDir)); break; - } catch(fs::filesystem_error &e) { + } catch (const fs::filesystem_error&) { QMessageBox::critical(0, tr("Bitcoin Core"), tr("Error: Specified data directory \"%1\" cannot be created.").arg(dataDir)); /* fall through, back to choosing screen */ |