]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Revert a previous change.
authorVMware, Inc <>
Mon, 21 Nov 2011 22:52:42 +0000 (14:52 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 21 Nov 2011 22:52:42 +0000 (14:52 -0800)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/lock/ul.c

index e3ff8fb0a5bbea113b804890766757d1ce4576ba..ebd1db8876200f9b4c43c18ca0f125a4d7c9f79a 100644 (file)
@@ -306,7 +306,9 @@ MX_Rank
 MXUserCurrentRank(void)
 {
    MX_Rank maxRank;
-   MXUserPerThread *perThread = MXUserGetPerThread(MXUserGetThreadID(), FALSE);
+   MXUserPerThread *perThread; 
+
+   perThread = MXUserGetPerThread(MXUserGetThreadID(), FALSE);
 
    if (perThread == NULL) {
       maxRank = RANK_UNRANKED;