From 6c1b5a1c01eb36ac3aab3bc44f7ac06050971ea8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 4 Apr 2010 17:29:42 +0200 Subject: [PATCH] Move declaration before other statements. --- src/xfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index 8a0e43bcb48..a2065ac19a5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3156,6 +3156,7 @@ set_machine_and_pid_properties (struct frame *f) XTextProperty text; int bytes, stringp; int do_free_text_value = 0; + long pid = (long)getpid(); text.value = x_encode_text (Vsystem_name, Qcompound_text, 0, &bytes, &stringp, @@ -3170,7 +3171,6 @@ set_machine_and_pid_properties (struct frame *f) if (do_free_text_value) xfree (text.value); - long pid = (long)getpid(); XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), XInternAtom (FRAME_X_DISPLAY (f), -- 2.39.5