fix compile warning and segfault caused by a missing return statement

we had the following compile warning:
prt-get.cpp: In member function 'virtual SignalHandler::HandlerResult PrtGet::handleSignal(int)':
prtget.cpp:1628:1: warning: no return statement in function returning non-void [-Wreturn-type] }

which leads to a segfault if we compile prt-get with optimalization, e.g. -O2,
and interrupt prt-get with ^C
This commit is contained in:
James Buren 2019-03-01 19:21:48 +01:00 committed by Juergen Daubert
parent 2fd99a3c8f
commit 4b6998eade
1 changed files with 2 additions and 0 deletions

View File

@ -1628,6 +1628,8 @@ SignalHandler::HandlerResult PrtGet::handleSignal( int signal )
if ( m_currentTransaction ) {
evaluateResult( *m_currentTransaction, false, true );
}
return EXIT;
}
/*!