PVS: V779 Unreachable code detected. It is possible that an error is present.
This commit is contained in:
@@ -1214,8 +1214,7 @@ void segmentation_fault_handler(int sig)
|
||||
std::cerr << "Program received signal SIGSEGV, Segmentation fault.\n";
|
||||
printBacktrace(2);
|
||||
exit(1);
|
||||
#endif
|
||||
|
||||
#else
|
||||
switch (sig) {
|
||||
case SIGSEGV:
|
||||
std::cerr << "Illegal storage access..." << std::endl;
|
||||
@@ -1233,6 +1232,7 @@ void segmentation_fault_handler(int sig)
|
||||
std::cerr << "Unknown error occurred..." << std::endl;
|
||||
break;
|
||||
}
|
||||
#endif // FC_OS_LINUX
|
||||
}
|
||||
|
||||
void unhandled_exception_handler()
|
||||
|
||||
Reference in New Issue
Block a user