apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1207704 - /apr/apr/trunk/dbm/apr_dbm_sdbm.c
Date Mon, 28 Nov 2011 23:51:25 GMT
Author: minfrin
Date: Mon Nov 28 23:51:24 2011
New Revision: 1207704

URL: http://svn.apache.org/viewvc?rev=1207704&view=rev
Log:
Suppress a potential warning about an ignored return value.

Modified:
    apr/apr/trunk/dbm/apr_dbm_sdbm.c

Modified: apr/apr/trunk/dbm/apr_dbm_sdbm.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/dbm/apr_dbm_sdbm.c?rev=1207704&r1=1207703&r2=1207704&view=diff
==============================================================================
--- apr/apr/trunk/dbm/apr_dbm_sdbm.c (original)
+++ apr/apr/trunk/dbm/apr_dbm_sdbm.c Mon Nov 28 23:51:24 2011
@@ -186,7 +186,7 @@ static apr_status_t vt_sdbm_nextkey(apr_
 {
     apr_sdbm_datum_t rd;
 
-    apr_sdbm_nextkey(dbm->file, &rd);
+    (void)apr_sdbm_nextkey(dbm->file, &rd);
 
     pkey->dptr = rd.dptr;
     pkey->dsize = rd.dsize;



Mime
View raw message