summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-12-30 17:45:24 +0000
committerJosé Fonseca <jfonseca@vmware.com>2014-12-30 18:10:30 +0000
commited32ade2d2f255e5eb23d78f0cbc93430aee2731 (patch)
tree9aa0e682b335a7d05be4e478da27f3b88d612fa0 /cli
parent057489b3b631f7213d32835812daf338574d371a (diff)
cli: Silence unused copyWrapper function warning.
Diffstat (limited to 'cli')
-rw-r--r--cli/cli_trace.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/cli_trace.cpp b/cli/cli_trace.cpp
index b543b1e9..669a0c45 100644
--- a/cli/cli_trace.cpp
+++ b/cli/cli_trace.cpp
@@ -54,6 +54,8 @@
#endif
+#ifdef _WIN32
+
static inline bool
copyWrapper(const os::String & wrapperPath,
const char *programPath,
@@ -83,6 +85,8 @@ copyWrapper(const os::String & wrapperPath,
return true;
}
+#endif /* _WIN32 */
+
static int
traceProgram(trace::API api,