2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
+ * xfns.c (Fx_file_dialog): Rename local to avoid shadowing.
+
* xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized var.
* xfns.c (x_real_positions): Mark locals as initialized.
/* Get the result. */
if (result == XmCR_OK)
{
- XmString text;
+ XmString text_string;
String data;
- XtVaGetValues (dialog, XmNtextString, &text, NULL);
- XmStringGetLtoR (text, XmFONTLIST_DEFAULT_TAG, &data);
- XmStringFree (text);
+ XtVaGetValues (dialog, XmNtextString, &text_string, NULL);
+ XmStringGetLtoR (text_string, XmFONTLIST_DEFAULT_TAG, &data);
+ XmStringFree (text_string);
file = build_string (data);
XtFree (data);
}