diff options
| author | Po Lu | 2022-02-02 15:18:12 +0800 |
|---|---|---|
| committer | Po Lu | 2022-02-02 15:19:52 +0800 |
| commit | e7047b4aba0fa5f3a511cb0688158400f02b1485 (patch) | |
| tree | ca6013c11073b4d48501f0c910f28ed96383b3a3 /src | |
| parent | e3e0deb86d2d1b94099a93284a96843e1a654503 (diff) | |
| download | emacs-e7047b4aba0fa5f3a511cb0688158400f02b1485.tar.gz emacs-e7047b4aba0fa5f3a511cb0688158400f02b1485.zip | |
* src/nsselect.m (ns_get_foreign_selection): Fix GCC warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsselect.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsselect.m b/src/nsselect.m index 13ca9b9c442..a7ef9df0e0e 100644 --- a/src/nsselect.m +++ b/src/nsselect.m | |||
| @@ -250,7 +250,7 @@ ns_get_foreign_selection (Lisp_Object symbol, Lisp_Object target) | |||
| 250 | 250 | ||
| 251 | NSString *type; | 251 | NSString *type; |
| 252 | NSEnumerator *e = [[pb types] objectEnumerator]; | 252 | NSEnumerator *e = [[pb types] objectEnumerator]; |
| 253 | while (type = [e nextObject]) | 253 | while ((type = [e nextObject])) |
| 254 | { | 254 | { |
| 255 | NSString *val = [typeLookup valueForKey:type]; | 255 | NSString *val = [typeLookup valueForKey:type]; |
| 256 | if (val && ! [types containsObject:val]) | 256 | if (val && ! [types containsObject:val]) |