mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 09:25:51 +00:00
Fix compiler warnings under gcc.
This commit is contained in:
committed by
Vinnie Falco
parent
78dfb6bcf5
commit
af7f0b5074
@@ -15,7 +15,7 @@
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Portions based on SOCI - The C++ Database Access Library:
|
||||
Portions based on SOCI - The C++ Database Access Library:
|
||||
|
||||
SOCI: http://soci.sourceforge.net/
|
||||
|
||||
@@ -67,10 +67,7 @@ class session::Sqlite3
|
||||
public:
|
||||
Sqlite3()
|
||||
{
|
||||
int threadSafe = sqlite3_threadsafe();
|
||||
|
||||
assert (threadSafe != 0);
|
||||
|
||||
assert (sqlite3_threadsafe() != 0);
|
||||
sqlite3_initialize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user