declare status when it is used

This commit is contained in:
Jeff Hill
2002-11-01 17:24:09 +00:00
parent c9468cdf8e
commit 2daf1edf51
+1 -2
View File
@@ -99,9 +99,8 @@ epicsShareFunc void epicsShareAPI epicsSignalInstallSigUrgIgnore ( void )
epicsShareFunc void epicsShareAPI epicsSignalRaiseSigUrg
( struct epicsThreadOSD * threadId )
{
int status;
pthread_t id = epicsThreadGetPosixThreadId ( threadId );
status = pthread_kill ( SIGURG, id );
int status = pthread_kill ( SIGURG, id );
if ( status ) {
errlogPrintf ( "Failed to send SIGURG signal to thread. Status = \"%s\"\n",
strerror ( status ) );