From a69d32153f2785564a3054706e9eb264c0912c14 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 8 Apr 2003 02:54:37 +0000 Subject: [PATCH] ITS#2428 braindead compiler... --- tests/progs/slapd-modrdn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/progs/slapd-modrdn.c b/tests/progs/slapd-modrdn.c index cfedca5cba..92e3970b93 100644 --- a/tests/progs/slapd-modrdn.c +++ b/tests/progs/slapd-modrdn.c @@ -98,10 +98,11 @@ do_modrdn( char *uri, char *host, int port, char *manager, { LDAP *ld = NULL; int i; - pid_t pid = getpid(); + pid_t pid; char *DNs[2]; char *rdns[2]; + pid = getpid(); DNs[0] = entry; DNs[1] = strdup( entry ); @@ -164,7 +165,6 @@ do_modrdn( char *uri, char *host, int port, char *manager, if ( rc != LDAP_NO_SUCH_OBJECT ) break; continue; } - } fprintf( stderr, " PID=%ld - Modrdn done.\n", (long) pid ); -- 2.39.5