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]
/
index
/
extract.c
diff --git
a/index/extract.c
b/index/extract.c
index
6718670
..
33f4f9e
100644
(file)
--- a/
index/extract.c
+++ b/
index/extract.c
@@
-1,4
+1,4
@@
-/* $Id: extract.c,v 1.203 2006-02-20 18:39:43 adam Exp $
+/* $Id: extract.c,v 1.205 2006-03-25 21:18:09 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-921,7
+921,7
@@
ZEBRA_RES buffer_extract_record(ZebraHandle zh,
if (!recType)
{
if (!recType)
{
- yaz_log (YLOG_WARN, "No such record type: %s", zh->m_record_type);
+ yaz_log (YLOG_WARN, "No such record type: %s", recordType);
return ZEBRA_FAIL;
}
return ZEBRA_FAIL;
}
@@
-1374,8
+1374,8
@@
void extract_flushRecordKeys (ZebraHandle zh, SYSNO sysno,
{
if (staticrank < 0)
{
{
if (staticrank < 0)
{
- yaz_log(YLOG_WARN, "staticrank = %d. Setting to 0",
- staticrank);
+ yaz_log(YLOG_WARN, "staticrank = %ld. Setting to 0",
+ (long) staticrank);
staticrank = 0;
}
*keyp++ = staticrank;
staticrank = 0;
}
*keyp++ = staticrank;