]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
output: SQLITE3: remove unused variable
authorJeremy Sowden <jeremy@azazel.net>
Wed, 5 Jan 2022 22:37:21 +0000 (22:37 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 10 Jan 2022 00:20:36 +0000 (01:20 +0100)
There's local variable left over from a previous tidy-up.  Remove it.

Fixes: 67b0be90f16f ("output: SQLITE3: improve mapping of fields to DB columns")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
output/sqlite3/ulogd_output_SQLITE3.c

index 51eab782cc9dca2d370284563b2a902a2ff92eae..0a9ad67edcff2d2defa98c0aa28b5a937e500bd0 100644 (file)
@@ -320,7 +320,6 @@ sqlite3_init_db(struct ulogd_pluginstance *pi)
        }
 
        for (col = 0; col < num_cols; col++) {
-               char *underscore;
                struct field *f;
 
                /* prepend it to the linked list */