Remove unused variables
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 25 Feb 2003 21:50:27 +0000 (21:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 25 Feb 2003 21:50:27 +0000 (21:50 +0000)
data1/d1_absyn.c
data1/d1_write.c

index c7f8ba7..3e26fc5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: d1_absyn.c,v 1.6 2003-02-04 12:06:46 pop Exp $
+/* $Id: d1_absyn.c,v 1.7 2003-02-25 21:50:27 adam Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -665,7 +665,6 @@ data1_absyn *data1_read_absyn (data1_handle dh, const char *file,
            int i;
            char *p, *xpath_expr, *termlists;
            const char *regexp;
-           int type, value;
            struct DFA *dfa = dfa = dfa_init();
            data1_termlist **tp;
             
@@ -958,7 +957,6 @@ data1_absyn *data1_read_absyn (data1_handle dh, const char *file,
        }
         else if (!strcmp(cmd, "systag"))
         {
-            struct data1_systag *st;
             if (argc != 3)
             {
                yaz_log(LOG_WARN, "%s:%d: Bad # or args for systag",
index 1ccd8e3..e67e101 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: d1_write.c,v 1.2 2002-10-22 13:19:50 adam Exp $
+/* $Id: d1_write.c,v 1.3 2003-02-25 21:50:27 adam Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -114,8 +114,6 @@ static int nodetoidsgml(data1_node *n, int select, WRBUF b, int col,
 
         if (c->which == DATA1N_preprocess)
         {
-            data1_xattr *p;
-
             if (pretty_format)
                 indent (b, col);
            wrbuf_puts (b, "<?");
@@ -140,8 +138,6 @@ static int nodetoidsgml(data1_node *n, int select, WRBUF b, int col,
            }
            else
            {
-               data1_xattr *p;
-
                 if (pretty_format)
                     indent (b, col);
                wrbuf_puts (b, "<");