From: Richard W.M. Jones Date: Mon, 15 Aug 2011 09:56:41 +0000 (+0100) Subject: Prevent warning about unused variable in test. X-Git-Tag: 1.3.1~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=7964606fbb481c4725c202804a127168ac309020;p=hivex.git Prevent warning about unused variable in test. --- 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; }