From 2910fcae936946944e9b4fbc74c77767e7d5c9bd Mon Sep 17 00:00:00 2001 From: mquinson Date: Sun, 31 Oct 2010 12:29:19 +0000 Subject: [PATCH] cosmetics (change 'self' identifier to 'me' for g++ compatibility) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8490 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_os_thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index 2b8326e0fb..1ecd247215 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -162,8 +162,8 @@ const char *xbt_os_thread_name(xbt_os_thread_t t) const char *xbt_os_thread_self_name(void) { - xbt_os_thread_t self = xbt_os_thread_self(); - return self ? self->name : "main"; + xbt_os_thread_t me = xbt_os_thread_self(); + return me ? me->name : "main"; } void xbt_os_thread_join(xbt_os_thread_t thread, void **thread_return) -- 2.20.1