diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-04-16 13:25:36 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2012-04-16 13:25:36 +0200 |
commit | aaf12f3264d8fa96c65a18efad8161368200f8e3 (patch) | |
tree | 05a9c405af9f5c0e10b6ed6ebbb86ff5fbb8013f /omapip/handle.c | |
parent | 402b4a6e3f8c2f42fe326b0b90c5311d2edbb6f3 (diff) | |
parent | aa161a719e968da4be1a97b2b7ccf312dafad3dc (diff) |
Diffstat (limited to 'omapip/handle.c')
-rw-r--r-- | omapip/handle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/omapip/handle.c b/omapip/handle.c index b69ef12..8405acf 100644 --- a/omapip/handle.c +++ b/omapip/handle.c @@ -3,7 +3,7 @@ Functions for maintaining handles on objects. */ /* - * Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2009-2010,2012 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1999-2003 by Internet Software Consortium * @@ -252,7 +252,6 @@ static isc_result_t omapi_handle_lookup_in (omapi_object_t **o, omapi_handle_table_t *table, int op) { - omapi_handle_table_t *inner; omapi_handle_t scale, index; if (!table || table->first > h || table->limit <= h) @@ -282,7 +281,6 @@ static isc_result_t omapi_handle_lookup_in (omapi_object_t **o, handle must be the subtable of this table whose index into this table's array of children is the handle divided by the scale. */ index = (h - table->first) / scale; - inner = table->children[index].table; return(omapi_handle_lookup_in(o, h, table->children[index].table, op)); } |