File emacs-22.0.99-nonvoid.patch of Package emacs

--- src/xmenu.c
+++ src/xmenu.c	2007-05-15 18:25:35.960111766 +0200
@@ -1140,8 +1140,8 @@ for instance using the window manager, t
 #else
   {
     Lisp_Object title;
-    char *error_name;
-    Lisp_Object selection;
+    char *error_name = NULL;
+    Lisp_Object selection = Qnil;
     int specpdl_count = SPECPDL_INDEX ();
 
     /* Decode the dialog items from what was specified.  */