declare status when it is used

This commit is contained in:
Jeff Hill committed 2002-11-01 17:24:09 +00:00
1 parent c9468cdf8e
commit 2daf1edf51
1 file changed
+1 -2
+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 ) );