projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a355f0
)
- remove unused variable
author
Christos Zoulas
<christos@zoulas.com>
Wed, 25 Jan 2012 18:05:44 +0000
(13:05 -0500)
committer
Christos Zoulas
<christos@zoulas.com>
Wed, 25 Jan 2012 18:05:44 +0000
(13:05 -0500)
- fix signness warning
amd/amq_subr.c
patch
|
blob
|
history
diff --git
a/amd/amq_subr.c
b/amd/amq_subr.c
index f6b25234a7e20e3ee5cac0c0d4d3234d9425def1..744d674df63ed11461e04e02a046ceb4252470a5 100644
(file)
--- a/
amd/amq_subr.c
+++ b/
amd/amq_subr.c
@@
-528,7
+528,6
@@
xdr_amq_mount_info_qelem(XDR *xdrs, qelem *qhead)
bool_t
xdr_amq_map_info_qelem(XDR *xdrs, qelem *qhead)
{
- mntfs *mf;
mnt_map *m;
u_int len = 0;
int x;
@@
-566,11
+565,13
@@
xdr_amq_map_info_qelem(XDR *xdrs, qelem *qhead)
return (FALSE);
}
- if (!xdr_int(xdrs, &m->nentries)) {
+ x = &m->nentries;
+ if (!xdr_int(xdrs, &x)) {
return (FALSE);
}
- if (!xdr_int(xdrs, &m->reloads)) {
+ x = &m->reloads;
+ if (!xdr_int(xdrs, &x)) {
return (FALSE);
}