changeset 107780:c34901ea512b

Move declaration before other statements.
author jhd <jhd@f12.localdomain>
date Sun, 04 Apr 2010 17:29:42 +0200
parents 41e0da544208
children da85212a72c2 c585a710efe7
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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),