Skip to content

Xtrans.c: fix const violation

/home/nekrad/.usr/x11/include/X11/Xtrans/Xtrans.c: In function ‘_XSERVTransParseAddress’:
/home/nekrad/.usr/x11/include/X11/Xtrans/Xtrans.c:216:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  216 |         _host = "";
      |               ^

Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

Edited by Alan Coopersmith

Merge request reports

Loading