From ff4417a0cc344eed56d5ddd42b2a4cfd69b17c43 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 16 Oct 2011 11:31:30 +0200 Subject: fixed for Linux 3.0, fixed a gcc warning about an unused variable --- src/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index 5db2e4d..4fab4f5 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -91,7 +91,7 @@ ostream& operator<<( ostream& o, const connection& c ) { result connection::exec( string sql ) { ostringstream s; s << "internal_" << *this << "_" << ++_internal_tno; - prepare::declaration decl = prepare( s.str( ), sql ); + (void)prepare( s.str( ), sql ); return prepared_exec( s.str( ) ); } -- cgit v1.2.3-54-g00ecf