diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-01 10:41:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-01 10:41:40 +0000 |
commit | 0b701e6341e03da1d363ba0c4381bcd1fa3aa18f (patch) | |
tree | 1a657d816542074dc3bdd7e736e97f1a0c4374e5 | |
parent | Fix ChangeLog. (diff) | |
download | rtems-0b701e6341e03da1d363ba0c4381bcd1fa3aa18f.tar.bz2 |
2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c: Warning removal.
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/nfsclient/src/xdr_mbuf.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 207d1d4f1d..c39b48c5dd 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org> + + * libfs/src/nfsclient/src/xdr_mbuf.c: Warning removal. + 2010-05-31 Joel Sherrill <joel.sherrill@oarcorp.com> * libcsupport/include/rtems/libio.h: Remove if 0 section. Formatting. diff --git a/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c b/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c index d06bc068f5..4294d6dcd2 100644 --- a/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c +++ b/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c @@ -186,7 +186,8 @@ xdrmbuf_create(XDR *xdrs, struct mbuf *mbuf, enum xdr_op op) MBPrivate mbp; xdrs->x_op = op; - assert( mbp = (MBPrivate)my_malloc(sizeof(*mbp)) ); + mbp = (MBPrivate)my_malloc(sizeof(*mbp)); + assert( mbp ); xdrs->x_base = (caddr_t) mbp; mbp->mchain = mbuf; |