# HG changeset patch # User jhd # Date 1270394982 -7200 # Node ID c34901ea512b1438cd3c0454f77ee7bb148cf70a # Parent 41e0da544208fcd506218d0e1a2d2c62c41dec7e Move declaration before other statements. diff -r 41e0da544208 -r c34901ea512b src/xfns.c --- a/src/xfns.c Sun Apr 04 12:47:12 2010 +0200 +++ b/src/xfns.c Sun Apr 04 17:29:42 2010 +0200 @@ -3156,6 +3156,7 @@ 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 @@ 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),