Re: Double return Issue in sqlite3_filename_database

Richard Hipp <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <CALwJ=MwhhhYRmwySXxWw=n_183iWwj2kd_D+Q+Vi94t=oz8q-A@mail.gmail.com>
On 2/6/20, Damian Wilson <[email protected]> wrote:
>
> Probably benign, but nice if it was cleaned up.
>

Correct.  It is benign - identical machine code is generated with and
without the extra statement.  And, curiously, the problem was not
detected by GCC even with -Wall -Wextra -pedantic-errors.  Thanks for
pointing it out.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.