summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-02-18 05:24:17 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-18 05:24:17 -0800
commit970f319aed634e2bad5a7355d93c06188ada26a1 (patch)
tree2bb91711f4ab0c753198920a584fc64c62931e1a /kernel
parent3b66fbb7bdf71455b552d9c224a41bcaabf1954d (diff)
[PATCH] signal warning and uninitialised variable fix
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index f232baae6fd8..0f64a3867736 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -752,7 +752,7 @@ out_set:
static int
specific_send_sig_info(int sig, struct siginfo *info, struct task_struct *t)
{
- int ret;
+ int ret = 0;
if (!irqs_disabled())
BUG();
@@ -1346,7 +1346,6 @@ do_notify_parent_cldstop(struct task_struct *tsk, struct task_struct *parent)
static void
finish_stop(int stop_count)
{
- int ret;
/*
* If there are no other threads in the group, or if there is
* a group stop in progress and we are the last to stop,