git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9de2dc
)
Fix compilation when Augeas is not present.
author
Richard Jones
<rjones@redhat.com>
Tue, 10 Nov 2009 12:10:05 +0000
(12:10 +0000)
committer
Richard Jones
<rjones@redhat.com>
Tue, 10 Nov 2009 16:32:20 +0000
(16:32 +0000)
It would complain that NEED_AUG macro was defined but not used.
daemon/augeas.c
patch
|
blob
|
history
diff --git
a/daemon/augeas.c
b/daemon/augeas.c
index
3628219
..
b56012c
100644
(file)
--- a/
daemon/augeas.c
+++ b/
daemon/augeas.c
@@
-36,7
+36,6
@@
* considerably.
*/
static augeas *aug = NULL;
-#endif
#define NEED_AUG(errcode) \
do { \
@@
-46,6
+45,7
@@
static augeas *aug = NULL;
} \
} \
while (0)
+#endif
/* We need to rewrite the root path so it is based at /sysroot. */
int