mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Misc compiler warning fixes.
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ unsigned int c_error(const loot::error& e) {
|
||||
extMessageStr = new char[strlen(e.what()) + 1];
|
||||
strcpy(extMessageStr, e.what());
|
||||
}
|
||||
catch (std::bad_alloc& e) {
|
||||
catch (std::bad_alloc& /*e*/) {
|
||||
extMessageStr = NULL;
|
||||
}
|
||||
return e.code();
|
||||
|
||||
Reference in New Issue
Block a user