diff options
-rw-r--r-- | hurd/sigunwind.c | 2 | ||||
-rw-r--r-- | iconv/strtab.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hurd/sigunwind.c b/hurd/sigunwind.c index 450a385a2a..e2791eab83 100644 --- a/hurd/sigunwind.c +++ b/hurd/sigunwind.c @@ -111,7 +111,7 @@ _hurdsig_longjmp_from_handler (void *data, jmp_buf env, int val) link = (void *) &scp[1]; assert (! link->resource.next && ! link->resource.prevp); assert (link->thread.next == ss->active_resources); - assert (link->thread.prevp = &ss->active_resources); + assert (link->thread.prevp == &ss->active_resources); if (link->thread.next) link->thread.next->thread.prevp = &link->thread.next; ss->active_resources = link; diff --git a/iconv/strtab.c b/iconv/strtab.c index e6feb2cf24..32c00041f3 100644 --- a/iconv/strtab.c +++ b/iconv/strtab.c @@ -326,7 +326,7 @@ strtabfinalize (struct Strtab *st, size_t *size) copylen = 1; copystrings (st->root, &endp, ©len); assert (copylen == st->total + 1); - assert (endp = retval + st->total + 1); + assert (endp == retval + st->total + 1); *size = copylen; return retval; |