From 5d3a5e5c2e16555a19e794341ed72cf2415b07fc Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 19 Mar 2013 23:57:16 +0100 Subject: db: suppress field in db structure The field is currently only used in a single function as a string pointer and can thus be removed from the db instance structure. --- include/ulogd/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ulogd/db.h b/include/ulogd/db.h index a533902..a02afb5 100644 --- a/include/ulogd/db.h +++ b/include/ulogd/db.h @@ -1,6 +1,7 @@ /* DB handling functions * * (C) 2000-2005 by Harald Welte + * (C) 2013 by Eric Leblond * * This code is distributed under the terms of GNU GPL version 2 */ @@ -29,7 +30,6 @@ struct db_stmt { struct db_instance { char *stmt; /* buffer for our insert statement */ char *stmt_val; /* pointer to the beginning of the "VALUES" part */ - char *stmt_ins; /* pointer to current inser position in statement */ char *schema; time_t reconnect; int (*interp)(struct ulogd_pluginstance *upi); -- cgit v1.2.3