Skip to content

Commit

Permalink
libdmsg: Mark some return values unused.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Wildner committed Jan 19, 2013
1 parent 636eca0 commit 579191c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/libdmsg/crypto.c
Expand Up @@ -675,7 +675,7 @@ dmsg_crypto_decrypt(dmsg_iocom_t *iocom __unused, dmsg_ioq_t *ioq)
{
int p_len;
int used;
int error;
__unused int error; /* XXX */
char buf[512];

/*
Expand Down Expand Up @@ -721,7 +721,7 @@ dmsg_crypto_encrypt(dmsg_iocom_t *iocom __unused, dmsg_ioq_t *ioq,
{
int p_len, used, ct_used;
int i;
int error;
__unused int error; /* XXX */
size_t nmax;

nmax = sizeof(ioq->buf) - ioq->fifo_end; /* max new bytes */
Expand Down

0 comments on commit 579191c

Please sign in to comment.