Re: [PATCH] strbuf: stop out-of-boundary warnings from Coverity
- From
Remi Galan Alfonso <remi.galan-alfonso@ensimag.grenoble-inp.fr>
- Date
- Jun 19, 2015, 10:50 UTC
- Message-ID
- <319721281.628788.1434711025325.JavaMail.zimbra@ensimag.grenoble-inp.fr>
- In-Reply-To
- <20150619103946.GA20493@lanh>
Duy Nguyen <pclouds@gmail.com> writes:
> + sb.buf[0] = 'Z';
> + printf("%c\n", strbuf_slopbuf[0]);
> + return 0;
> startup_info = &git_startup_info;I might be wrong, but I definitely think that this printf and return 0 are some debug lines that you forgot to remove.
Rémi