summaryrefslogtreecommitdiff
path: root/mysys/thr_alarm.c
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:09:27 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:09:27 -0300
commit97c3182312568d856e040f8d788f1ee0291717c1 (patch)
tree541cfc3d5f16c89cdcacdc7babd0c0fdf9de16a0 /mysys/thr_alarm.c
parentf31c0483217ba1de24c1e0bfb1c0c8009006cf4d (diff)
downloadmariadb-git-97c3182312568d856e040f8d788f1ee0291717c1.tar.gz
WL#5498: Remove dead and unused source code
Remove code that has been disabled for a long time.
Diffstat (limited to 'mysys/thr_alarm.c')
-rw-r--r--mysys/thr_alarm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c
index 9ca18eeaf1b..54eef693558 100644
--- a/mysys/thr_alarm.c
+++ b/mysys/thr_alarm.c
@@ -903,11 +903,6 @@ int main(int argc __attribute__((unused)),char **argv __attribute__((unused)))
sigaddset(&set,THR_SERVER_ALARM);
sigdelset(&set, thr_client_alarm);
(void) pthread_sigmask(SIG_SETMASK,&set,NULL);
-#ifdef NOT_USED
- sigemptyset(&set);
- sigaddset(&set, thr_client_alarm);
- pthread_sigmask(SIG_UNBLOCK, &set, (sigset_t*) 0);
-#endif
pthread_attr_init(&thr_attr);
pthread_attr_setscope(&thr_attr,PTHREAD_SCOPE_PROCESS);