--- a/flog.c
+++ b/flog.c
@@ -37,7 +37,6 @@ struct Conf {
   char * time_format;
   char * pidfile_name;
   int max_len;
-  int pid;
 } conf;
 
 #define DEFAULT_TIME_FORMAT "%Y%m%d;%T: "
@@ -77,7 +76,6 @@ int main(int argc, char** argv)
       opt++;
       if (opt < argc) {
         conf.pidfile = 1;
-        conf.pid = getpid();
         conf.pidfile_name = argv[opt];
       }
     } else if (!strcmp(argv[opt], "-l")) {
