From 4ac4ad21084b0cd09261ca37199c2a89607f86eb Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 31 May 2011 00:35:58 +0200 Subject: s3-utils: fix another -Wunused-but-set-variable build warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue May 31 05:18:42 CEST 2011 on sn-devel-104 --- source3/utils/eventlogadm.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3') diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c index 6ab00eeb69..a157e91e5c 100644 --- a/source3/utils/eventlogadm.c +++ b/source3/utils/eventlogadm.c @@ -365,15 +365,12 @@ static int DoDumpCommand(int argc, char **argv, bool debugflag, char *exename) { ELOG_TDB *etdb; TALLOC_CTX *mem_ctx = talloc_tos(); - const char *tdb_filename; uint32_t count = 1; if (argc > 2) { return -1; } - tdb_filename = argv[0]; - if (argc > 1) { count = atoi(argv[1]); } -- cgit