[sr-dev] git:5.1:788f220c: xmpp: fix gcc 7 warnings