]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/doc/chew.c
chew ubsan warning
authorAlan Modra <amodra@gmail.com>
Fri, 6 Aug 2021 10:16:22 +0000 (19:46 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 6 Aug 2021 13:36:53 +0000 (23:06 +0930)
commit7eb7e4cdcc625d9253fe8f3c42d3312c52f61d94
tree89b18df0f8e0041f9df6bdf886757ea82baaedd4
parent856c1545ce00d5c7d9368cdf5cb9dc7181c981e8
chew ubsan warning

It matters not at all if pc is incremented from its initial NULL
value, but avoid this silly runtime ubsan error.

* doc/chew.c (perform): Avoid incrementing NULL pc.
bfd/doc/chew.c