Double return Issue in sqlite3_filename_database

Damian Wilson <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <[email protected]>
Hi folks

Firstly, apologies if this should go to the -dev user list, but I had to start somewhere. I noticed the following double return issue in 3.31.1 source code:

Main.c:
const char *sqlite3_filename_database(const char *zFilename){
  return databaseName(zFilename);
  return sqlite3_uri_parameter(zFilename - 3, "\003");
}

Looks to be from this commit: https://www.sqlite.org/src/info/6dbb8cb0e3dd86c5

Probably benign, but nice if it was cleaned up.

Regards
Damian

________________________________

Sophos Ltd, a company registered in England and Wales, number 2096520, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom
_______________________________________________
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.