1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

* src/nsselect.m (ns_get_foreign_selection): Fix GCC warning.

This commit is contained in:
Po Lu 2022-02-02 15:18:12 +08:00
parent e3e0deb86d
commit e7047b4aba

View file

@ -250,7 +250,7 @@ ns_get_foreign_selection (Lisp_Object symbol, Lisp_Object target)
NSString *type;
NSEnumerator *e = [[pb types] objectEnumerator];
while (type = [e nextObject])
while ((type = [e nextObject]))
{
NSString *val = [typeLookup valueForKey:type];
if (val && ! [types containsObject:val])