@ -70,9 +70,7 @@ QString GetMinecraftJarVersion(QString jarName)
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (java::classfile_exception &)
|
||||
{
|
||||
}
|
||||
catch (java::classfile_exception) { }
|
||||
|
||||
// clean up
|
||||
delete[] classfile;
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user