Omit unnecessary warnings in ztest sample code.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 13 Mar 2006 12:14:00 +0000 (12:14 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 13 Mar 2006 12:14:00 +0000 (12:14 +0000)
ztest/ztest.c

index ce3363e..c5f7432 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: ztest.c,v 1.77 2006-02-19 18:37:20 adam Exp $
+ * $Id: ztest.c,v 1.78 2006-03-13 12:14:00 adam Exp $
  */
 
 /*
@@ -410,16 +410,6 @@ int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
             }
         }
     }
-    else if (rr->esr->taskSpecificParameters->which == Z_External_update0)
-    {
-        yaz_log(log_level, "Received DB Update (version 0)");
-    }
-    else
-    {
-        yaz_log (YLOG_WARN, "Unknown Extended Service(%d)",
-                 rr->esr->taskSpecificParameters->which);
-        
-    }
     return 0;
 }