Mercurial > emacs
changeset 42471:4234f54994ef
(main): Parenthesize assignment when used as truth value to prevent gcc
warnings.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Tue, 01 Jan 2002 22:08:54 +0000 |
parents | fd37f9aafadc |
children | 5787452daded |
files | lib-src/b2m.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/b2m.c Tue Jan 01 19:16:54 2002 +0000 +++ b/lib-src/b2m.c Tue Jan 01 22:08:54 2002 +0000 @@ -168,7 +168,7 @@ p = strtok (data.buffer, " ,\r\n\t"); labels = "X-Babyl-Labels: "; - while (p = strtok (NULL, " ,\r\n\t")) + while ((p = strtok (NULL, " ,\r\n\t"))) labels = concat (labels, p, ", "); p = &labels[strlen (labels) - 2];