Subject: | [PATCH] fix DB_ENV() return value |
Date: | Thu, 26 Oct 2006 07:52:48 +0400 |
To: | bug-berkeleydb [...] rt.cpan.org |
From: | Alexey Tourbin <at [...] altlinux.ru> |
Spotted by gcc.
BerkeleyDB.c: In function 'XS_BerkeleyDB__Env_DB_ENV':
BerkeleyDB.c:2394: warning: unused variable 'targ'
---
BerkeleyDB.xs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/BerkeleyDB.xs b/BerkeleyDB.xs
index c4df81e..e1a9357 100644
--- a/BerkeleyDB.xs
+++ b/BerkeleyDB.xs
@@ -2086,6 +2086,8 @@ DB_ENV(env)
RETVAL = env->Env ;
else
RETVAL = NULL;
+ OUTPUT:
+ RETVAL
void
--
1.4.3.GIT