summaryrefslogtreecommitdiffstats
path: root/x11/libxklavier/files/patch-libxklavier_xklavier.c
blob: aab6f4207a2946e9f9d8bbaf2b0de7766a347054 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libxklavier/xklavier.c.orig Tue Nov 23 18:32:29 2004
+++ libxklavier/xklavier.c  Tue Nov 23 18:32:48 2004
@@ -700,9 +700,10 @@
 {
   if ( xklVTable == NULL )
   {
+    char *p;
     XklDebug( 0, "ERROR: XKL VTable is NOT initialized.\n" );
     /* force the crash! */
-    char *p = NULL; *p = '\0';
+    p = NULL; *p = '\0';
   }
 }