I am compiling the following document with glossaries v4.11:
\documentclass[a4paper]{report}
\usepackage{glossaries}
\makeglossaries
\newglossaryentry{foo}{name={foo},description={Foo}}
\newglossaryentry{bar}{name={bar},description={Bar}}
\newglossaryentry{baz}{name={baz},description={Baz}}
\begin{document}
\gls{foo} \glsadd{bar}
\printglossaries
\glsaddallunused
\end{document}
The entries "foo" and "baz" appear as intended, but there is a spurious comma in the "bar" entry that was added using \glsadd:

Removing \glsaddallunused fixes the problem, but then the "baz" entry does not appear any more.

\sbox0{\gls{bar}}is intended as addition to\glsadd{bar}. The command for this purpose is\glsunsetif I have understood the documentation correctly. Answer updated. – Heiko Oberdiek Jul 02 '15 at 11:33