Skip to content

Commit d19ae89

Browse files
committed
More PR feedback.
1 parent 1c71efe commit d19ae89

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

inc/osvr/Util/ProcessUtils.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ OSVR_INLINE OSVR_ReturnCode osvrStartProcess(const char* executablePath, const c
5151
// @todo: can we just use the *nix implementation for android?
5252
OSVR_DEV_VERBOSE("osvrStartProces not yet implemented for Android");
5353
return OSVR_RETURN_FAILURE;
54-
#else
55-
#if defined(OSVR_WINDOWS)
54+
#elif defined(OSVR_WINDOWS)
5655
STARTUPINFO startupInfo = { 0 };
5756
PROCESS_INFORMATION processInfo = { 0 };
5857

@@ -81,7 +80,6 @@ OSVR_INLINE OSVR_ReturnCode osvrStartProcess(const char* executablePath, const c
8180
// //OSVR_DEV_VERBOSE("Started OSVR server process successfully.");
8281
// return OSVR_RETURN_SUCCESS;
8382
//}
84-
#endif
8583
#endif
8684
return OSVR_RETURN_SUCCESS;
8785
}

src/osvr/ClientKit/ServerAutoStartC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ void osvrClientReleaseAutoStartedServer()
6969
// no-op. Leave the server running.
7070
#endif
7171
return;
72-
}
72+
}

0 commit comments

Comments
 (0)