From: Pavel Janík Date: Tue, 1 Jan 2002 22:08:54 +0000 (+0000) Subject: (main): Parenthesize assignment when used as truth value to prevent gcc X-Git-Tag: ttn-vms-21-2-B4~17366 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25b18337e96c4e3e21019e9c4744daead2ea57c5;p=emacs.git (main): Parenthesize assignment when used as truth value to prevent gcc warnings. --- diff --git a/lib-src/b2m.c b/lib-src/b2m.c index 8801f2f702f..05caa1424e0 100644 --- a/lib-src/b2m.c +++ b/lib-src/b2m.c @@ -168,7 +168,7 @@ main (argc, argv) 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];