From 4b670b0862690515a3e3a7d3c007747723116702 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Mon, 4 Jun 2012 06:10:58 +0000 Subject: [PATCH] delete Line 33 in thread.c, the variable isn't used at all. extern rt_uint8_t rt_current_priority; git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2153 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/thread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index a2adee0c7..809076bb2 100644 --- a/src/thread.c +++ b/src/thread.c @@ -30,7 +30,6 @@ extern rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX]; extern struct rt_thread *rt_current_thread; -extern rt_uint8_t rt_current_priority; extern rt_list_t rt_thread_defunct; static void rt_thread_exit(void)