VirtualBox

Changeset 107722 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Jan 13, 2025 8:01:05 PM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166824
Message:

xpcom18a4/java/src/nsJavaInterfaces.cpp: Small restructuring, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/java/src/nsJavaInterfaces.cpp

    r56604 r107722  
    6767#include <VBox/com/com.h>
    6868using namespace com;
     69#include <iprt/assert.h>
    6970#include <iprt/initterm.h>
    7071#include <iprt/string.h>
     
    153154    jstring path = nsnull;
    154155
    155     int rv;
    156156    jclass     clazz;
    157157    jmethodID  getPathMID;
     
    175175      memcpy(pszExePath, pszHome, cchHome);
    176176      memcpy(pszExePath + cchHome, "/javafake", sizeof("/javafake"));
    177       rv = RTR3InitEx(RTR3INIT_VER_CUR, RTR3INIT_FLAGS_DLL | RTR3INIT_FLAGS_UNOBTRUSIVE, 0, NULL, pszExePath);
     177      int rc = RTR3InitEx(RTR3INIT_VER_CUR, RTR3INIT_FLAGS_DLL | RTR3INIT_FLAGS_UNOBTRUSIVE, 0, NULL, pszExePath);
     178      AssertRC(rc);
    178179    } else {
    179       rv = RTR3InitDll(RTR3INIT_FLAGS_UNOBTRUSIVE);
     180      int rc = RTR3InitDll(RTR3INIT_FLAGS_UNOBTRUSIVE);
     181      AssertRC(rc);
    180182    }
    181183
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette