From 7964606fbb481c4725c202804a127168ac309020 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 15 Aug 2011 10:56:41 +0100 Subject: [PATCH] Prevent warning about unused variable in test. --- lib/test-just-header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test-just-header.c b/lib/test-just-header.c index ee81e21..5b8129f 100644 --- a/lib/test-just-header.c +++ b/lib/test-just-header.c @@ -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; } -- 1.8.3.1