Prevent warning about unused variable in test.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 15 Aug 2011 09:56:41 +0000 (10:56 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 15 Aug 2011 09:56:41 +0000 (10:56 +0100)
lib/test-just-header.c

index ee81e21..5b8129f 100644 (file)
@@ -26,5 +26,5 @@ int
 main (int argc, char *argv[])
 {
   hive_h *h = hivex_open ("../images/minimal", 0);
-  return 0;
+  return h == h ? 0 : 1;
 }