diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-02-14 11:15:46 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-02-15 08:32:38 +0100 |
commit | ea77ce3a200bae7d97d6e45becc898765c1aa259 (patch) | |
tree | 21a0229ac04c80078190f6ea21415b13c3fffdea | |
parent | 7503135a72ab47928f5db838273851693b0dddbb (diff) |
legacy: Silence a warning about an unused constant
VMWAREBuildStr was only used in the !LIBPCIACCESS path.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
-rw-r--r-- | src/vmware_bootstrap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmware_bootstrap.c b/src/vmware_bootstrap.c index 4f59e73..20c041e 100644 --- a/src/vmware_bootstrap.c +++ b/src/vmware_bootstrap.c @@ -92,8 +92,10 @@ static char vmware_driver_name[] = VMWARE_DRIVER_NAME; VMW_STRING(PACKAGE_VERSION_MAJOR) "." VMW_STRING(PACKAGE_VERSION_MINOR) \ "." VMW_STRING(PACKAGE_VERSION_PATCHLEVEL) +#if !XSERVER_LIBPCIACCESS static const char VMWAREBuildStr[] = "VMware Guest X Server " VMWARE_DRIVER_VERSION_STRING " - build=$Name$\n"; +#endif /* * Standard four digit version string expected by VMware Tools installer. |