Get rid of a few warnings
[yazpp-moved-to-github.git] / src / yaz-proxy-main.cpp
index 62b478f..21796f6 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 1998-2004, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: yaz-proxy-main.cpp,v 1.28 2004-01-06 21:17:42 adam Exp $
+ * $Id: yaz-proxy-main.cpp,v 1.29 2004-01-07 13:40:06 adam Exp $
  */
 
 #include <signal.h>
@@ -182,7 +182,6 @@ int main(int argc, char **argv)
 {
     int cont = 1;
     int run = 1;
-    static int mk_pid = 0;
     Yaz_SocketManager mySocketManager;
     Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager));
 
@@ -236,7 +235,7 @@ int main(int argc, char **argv)
                break;
            case SIGTERM:
                yaz_log(LOG_LOG, "Received SIGTERM from child %ld",
-                       WTERMSIG(status), (long) p);
+                       (long) p);
                cont = 0;
                break;
            default: