aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image.c3
-rw-r--r--src/search.c2
-rw-r--r--src/w32fns.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c
index 2ee2f3245be..3d761bd48be 100644
--- a/src/image.c
+++ b/src/image.c
@@ -2306,6 +2306,9 @@ free_image_cache (struct frame *f)
2306 struct image_cache *c = FRAME_IMAGE_CACHE (f); 2306 struct image_cache *c = FRAME_IMAGE_CACHE (f);
2307 ptrdiff_t i; 2307 ptrdiff_t i;
2308 2308
2309 /* This function assumes the caller already verified that the frame's
2310 image cache is non-NULL. */
2311 eassert (c);
2309 /* Cache should not be referenced by any frame when freed. */ 2312 /* Cache should not be referenced by any frame when freed. */
2310 eassert (c->refcount == 0); 2313 eassert (c->refcount == 0);
2311 2314
diff --git a/src/search.c b/src/search.c
index dd813eda913..2ff8b0599c4 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2279,7 +2279,7 @@ The optional second argument BOUND is a buffer position that bounds
2279 value of nil means search to the end of the accessible portion of 2279 value of nil means search to the end of the accessible portion of
2280 the buffer. 2280 the buffer.
2281The optional third argument NOERROR indicates how errors are handled 2281The optional third argument NOERROR indicates how errors are handled
2282 when the search fails. If it is nil or omitted, emit an error; if 2282 when the search fails: if it is nil or omitted, emit an error; if
2283 it is t, simply return nil and do nothing; if it is neither nil nor 2283 it is t, simply return nil and do nothing; if it is neither nil nor
2284 t, move to the limit of search and return nil. 2284 t, move to the limit of search and return nil.
2285The optional fourth argument COUNT is a number that indicates the 2285The optional fourth argument COUNT is a number that indicates the
diff --git a/src/w32fns.c b/src/w32fns.c
index 7fc2f598b3e..e5798fdd84f 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -10472,7 +10472,7 @@ DEFUN ("w32-notification-close",
10472{ 10472{
10473 struct frame *f = SELECTED_FRAME (); 10473 struct frame *f = SELECTED_FRAME ();
10474 10474
10475 if (FIXNUMP (id) && !pfnShell_NotifyIconW) 10475 if (FIXNUMP (id) && pfnShell_NotifyIconW)
10476 delete_tray_notification (f, XFIXNUM (id)); 10476 delete_tray_notification (f, XFIXNUM (id));
10477 10477
10478 return Qnil; 10478 return Qnil;