diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-06-15 11:04:33 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-06-15 11:04:33 +0000 |
commit | a9ad94a0835ac8664e3de8fa8fba7271d30abe42 (patch) | |
tree | d091985601febebd29e1d73be0aa3e349702b20b /pjlib/src/pjlib-test/thread.c | |
parent | b320c9cc527559a18a666cc6143bd3f602da6ec7 (diff) |
Cleanup misc compilation warnings with gcc
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@509 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test/thread.c')
-rw-r--r-- | pjlib/src/pjlib-test/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib/src/pjlib-test/thread.c b/pjlib/src/pjlib-test/thread.c index 866c7698..dc0caed2 100644 --- a/pjlib/src/pjlib-test/thread.c +++ b/pjlib/src/pjlib-test/thread.c @@ -72,9 +72,10 @@ static void* thread_proc(pj_uint32_t *pcounter) /* Test that pj_thread_register() works. */ pj_thread_desc desc; pj_thread_t *this_thread; - unsigned id = *pcounter; + unsigned id; pj_status_t rc; + id = *pcounter; TRACE__((THIS_FILE, " thread %d running..", id)); rc = pj_thread_register("thread", desc, &this_thread); |