summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
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( ) );
}