From 448cea367a3498ab113cbfd8f980ef360b310d97 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Dec 2011 10:42:45 +0200 Subject: Get rid of unused variable and warning --- hello/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hello/driver.cxx') diff --git a/hello/driver.cxx b/hello/driver.cxx index 2b7ba1f..98251cf 100644 --- a/hello/driver.cxx +++ b/hello/driver.cxx @@ -23,7 +23,7 @@ main (int argc, char* argv[]) { auto_ptr db (create_database (argc, argv)); - unsigned long john_id, jane_id, joe_id; + unsigned long john_id, joe_id; // Create a few persistent person objects. // @@ -37,7 +37,7 @@ main (int argc, char* argv[]) // Make objects persistent and save their ids for later use. // john_id = db->persist (john); - jane_id = db->persist (jane); + db->persist (jane); joe_id = db->persist (joe); t.commit (); -- cgit v1.1