summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-31 00:35:58 +0200
committerGünther Deschner <gd@samba.org>2011-05-31 05:18:42 +0200
commit4ac4ad21084b0cd09261ca37199c2a89607f86eb (patch)
tree48d6cef97d7ac7ad9b72d8f1c7141cc8aa04c360
parent6a6af31148cb6003357ec78a7d9befc9e9313a74 (diff)
downloadsamba-4ac4ad21084b0cd09261ca37199c2a89607f86eb.tar.gz
samba-4ac4ad21084b0cd09261ca37199c2a89607f86eb.tar.bz2
samba-4ac4ad21084b0cd09261ca37199c2a89607f86eb.zip
s3-utils: fix another -Wunused-but-set-variable build warning.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 31 05:18:42 CEST 2011 on sn-devel-104
-rw-r--r--source3/utils/eventlogadm.c3
1 files changed, 0 insertions, 3 deletions
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]);
}