summaryrefslogtreecommitdiffstats
path: root/tests/c-api/test-just-header-cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c-api/test-just-header-cxx.cpp')
-rw-r--r--tests/c-api/test-just-header-cxx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/c-api/test-just-header-cxx.cpp b/tests/c-api/test-just-header-cxx.cpp
index fc6a8c43..611d2fbb 100644
--- a/tests/c-api/test-just-header-cxx.cpp
+++ b/tests/c-api/test-just-header-cxx.cpp
@@ -30,5 +30,6 @@ int
main (int argc, char *argv[])
{
guestfs_h *g = guestfs_create ();
+ (void) g; /* trick shamelessly stolen from gnulib */
return 0;
}