You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/18 08:44:16 UTC

svn commit: r805290 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c

Author: mturk
Date: Tue Aug 18 06:44:16 2009
New Revision: 805290

URL: http://svn.apache.org/viewvc?rev=805290&view=rev
Log:
Add missing var

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c?rev=805290&r1=805289&r2=805290&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c Tue Aug 18 06:44:16 2009
@@ -38,6 +38,7 @@
 ACR_DECLARE(int) ACR_SemaphoreCreate(JNIEnv *_E, const acr_pchar_t *name,
                                      int value)
 {
+    int rc;
     HANDLE s;
     SECURITY_ATTRIBUTES sa;
     wchar_t *reskey;
@@ -70,6 +71,7 @@
 
 ACR_DECLARE(int) ACR_SemaphoreAttach(JNIEnv *_E, const acr_pchar_t *name)
 {
+    int rc;
     HANDLE s;
     wchar_t *reskey;
     wchar_t  keybuf[128];