BIND 10 trac2100, updated. ef7d33797149380197fbdf259464d8455d6c1400 [2100] update copyright year in new files

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Aug 23 15:57:31 UTC 2012


The branch, trac2100 has been updated
       via  ef7d33797149380197fbdf259464d8455d6c1400 (commit)
       via  da5c0338f55a35680ac316863ef3f4f95aea9060 (commit)
      from  0a15919f5570c67cc6cfee64fbbb83732098cd51 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ef7d33797149380197fbdf259464d8455d6c1400
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Aug 23 17:57:15 2012 +0200

    [2100] update copyright year in new files

commit da5c0338f55a35680ac316863ef3f4f95aea9060
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Aug 23 15:45:09 2012 +0200

    [2100] remove 'unused' table variable
    
    my compiler even checks assignment-only variables, apparently

-----------------------------------------------------------------------

Summary of changes:
 .../datasrc/memory/tests/zone_table_unittest.cc    |    5 ++---
 src/lib/datasrc/memory/zone_table.cc               |    2 +-
 src/lib/datasrc/memory/zone_table.h                |    2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/tests/zone_table_unittest.cc b/src/lib/datasrc/memory/tests/zone_table_unittest.cc
index dadbb20..8078a9b 100644
--- a/src/lib/datasrc/memory/tests/zone_table_unittest.cc
+++ b/src/lib/datasrc/memory/tests/zone_table_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2010  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -80,8 +80,7 @@ TEST_F(ZoneTableTest, create) {
     // tests.  We only check exception safety by letting the test memory
     // segment throw.
     mem_sgmt_.setThrowCount(2);
-    ZoneTable* table;
-    EXPECT_THROW(table = ZoneTable::create(mem_sgmt_), std::bad_alloc);
+    EXPECT_THROW(ZoneTable::create(mem_sgmt_), std::bad_alloc);
     // This shouldn't cause memory leak (that would be caught in TearDown()).
 }
 
diff --git a/src/lib/datasrc/memory/zone_table.cc b/src/lib/datasrc/memory/zone_table.cc
index b90ba48..9c410d0 100644
--- a/src/lib/datasrc/memory/zone_table.cc
+++ b/src/lib/datasrc/memory/zone_table.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2010  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
diff --git a/src/lib/datasrc/memory/zone_table.h b/src/lib/datasrc/memory/zone_table.h
index 636d79b..a486b6a 100644
--- a/src/lib/datasrc/memory/zone_table.h
+++ b/src/lib/datasrc/memory/zone_table.h
@@ -1,4 +1,4 @@
-// Copyright (C) 2010  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above



More information about the bind10-changes mailing list