git.annexia.org
/
hivex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent warning about unused variable in test.
[hivex.git]
/
lib
/
test-just-header.c
diff --git
a/lib/test-just-header.c
b/lib/test-just-header.c
index
ee81e21
..
5b8129f
100644
(file)
--- 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);
main (int argc, char *argv[])
{
hive_h *h = hivex_open ("../images/minimal", 0);
- return
0
;
+ return
h == h ? 0 : 1
;
}
}