OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=449
20 lines
507 B
Diff
20 lines
507 B
Diff
Avoid compiler warnings
|
|
|
|
---
|
|
src/xmenu.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- src/xmenu.c
|
|
+++ src/xmenu.c 2023-08-01 06:50:00.914537084 +0000
|
|
@@ -2440,8 +2440,8 @@ Lisp_Object
|
|
xw_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents)
|
|
{
|
|
Lisp_Object title;
|
|
- const char *error_name;
|
|
- Lisp_Object selection;
|
|
+ const char *error_name = NULL;
|
|
+ Lisp_Object selection = Qnil;
|
|
specpdl_ref specpdl_count = SPECPDL_INDEX ();
|
|
|
|
check_window_system (f);
|