Fix compiler error if HAVE_ASPRINTF is not defined.
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 31 Jul 2018 01:16:10 +0000 (10:16 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 31 Jul 2018 01:16:10 +0000 (10:16 +0900)
src/watchdog/test/stab.c

index ca017a12827ba973561affb7b9752ba70c48f2d0..4ea39704c52e481894b0f69f4622c97c5ca07d46 100644 (file)
@@ -49,8 +49,6 @@ void pool_error(const char *fmt,...)
    }
 #else
          fprintf(stderr, "%s ERROR: pid %d: ", nowsec(), (int)getpid());
-       else
-         fprintf(stderr, "ERROR: pid %d: ", (int)getpid());
 
        va_start(ap, fmt);
        vfprintf(stderr, fmt, ap);