On Tue, 2025-05-06 at 18:01 -0400, Benjamin Marzinski wrote:
> On Mon, May 05, 2025 at 06:29:56PM +0200, Martin Wilck wrote:
> > Try to silence a gcc warning. Also, replace the wrong-looking
> > VECTOR_DEFAULT_SIZE by 1 (after all, we've just deleted a single
> > element).
> >
> > Found by Fedora'
On Mon, May 05, 2025 at 06:29:56PM +0200, Martin Wilck wrote:
> Try to silence a gcc warning. Also, replace the wrong-looking
> VECTOR_DEFAULT_SIZE by 1 (after all, we've just deleted a single
> element).
>
> Found by Fedora's static analysis [1].
>
> [1]
> https://openscanhub.fedoraproject.org/
On Mon, May 05, 2025 at 06:29:56PM +0200, Martin Wilck wrote:
> Try to silence a gcc warning. Also, replace the wrong-looking
> VECTOR_DEFAULT_SIZE by 1 (after all, we've just deleted a single
> element).
I agree that VECTOR_DEFAULT_SIZE is pointless. But we shoud also stop
adding VECTOR_DEFAULT_S