projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of unsed variable active in struct zebra_register.
[idzebra-moved-to-github.git]
/
dict
/
close.c
diff --git
a/dict/close.c
b/dict/close.c
index
0044e9a
..
be53165
100644
(file)
--- a/
dict/close.c
+++ b/
dict/close.c
@@
-1,6
+1,6
@@
-/* $Id: close.c,v 1.7 2002-08-02 19:26:55 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
- Index Data Aps
+/* $Id: close.c,v 1.10 2006-03-26 14:02:49 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-27,11
+27,12
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <stdio.h>
#include <assert.h>
#include <stdio.h>
#include <assert.h>
-#include <dict.h>
+#include "dict-p.h"
int dict_close (Dict dict)
{
int dict_close (Dict dict)
{
- assert (dict);
+ if (!dict)
+ return 0;
if (dict->rw)
{
if (dict->rw)
{