diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-12-01 10:42:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-12-01 10:42:45 +0200 |
commit | 448cea367a3498ab113cbfd8f980ef360b310d97 (patch) | |
tree | 5355e12315c9ca4005dbc32a9049bb062cf234fc /hello/driver.cxx | |
parent | e234c1d739c82dc4bc4fc8941543d613bd046db4 (diff) |
Get rid of unused variable and warning
Diffstat (limited to 'hello/driver.cxx')
-rw-r--r-- | hello/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<database> 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 (); |