diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/classparser/src/classparser.cpp | 4 | ||||
-rw-r--r-- | libraries/pack200/anti200.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/libraries/classparser/src/classparser.cpp b/libraries/classparser/src/classparser.cpp index 8837781f..bf5cc039 100644 --- a/libraries/classparser/src/classparser.cpp +++ b/libraries/classparser/src/classparser.cpp @@ -70,9 +70,7 @@ QString GetMinecraftJarVersion(QString jarName) } } } - catch (java::classfile_exception &) - { - } + catch (java::classfile_exception) { } // clean up delete[] classfile; diff --git a/libraries/pack200/anti200.cpp b/libraries/pack200/anti200.cpp index 944e80e5..0fa3d3e6 100644 --- a/libraries/pack200/anti200.cpp +++ b/libraries/pack200/anti200.cpp @@ -32,7 +32,7 @@ int main(int argc, char **argv) { unpack_200(input, output); } - catch (std::runtime_error &e) + catch (const std::runtime_error &e) { std::cerr << "Bad things happened: " << e.what() << std::endl; fclose(input); |