NDBM: silence 'unused var' warnings x 2
authorDavid Mitchell <davem@iabyn.com>
Fri, 19 Dec 2014 16:31:51 +0000 (16:31 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 19 Dec 2014 16:31:51 +0000 (16:31 +0000)
(I've done this blind because I don't have libndbm on my system)

ext/NDBM_File/NDBM_File.xs

index dae199d..eed671a 100644 (file)
@@ -136,11 +136,15 @@ ndbm_NEXTKEY(db, key)
 int
 ndbm_error(db)
        NDBM_File       db
+    CLEANUP:
+       PERL_UNUSED_VAR(db);
 
 #define ndbm_clearerr(db)                      dbm_clearerr(db->dbp)
 void
 ndbm_clearerr(db)
        NDBM_File       db
+    CLEANUP:
+       PERL_UNUSED_VAR(db);
 
 
 SV *