summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/anopesmtp.c2
-rw-r--r--src/tools/db-convert.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/anopesmtp.c b/src/tools/anopesmtp.c
index 80e49caa0..bf1cc68df 100644
--- a/src/tools/anopesmtp.c
+++ b/src/tools/anopesmtp.c
@@ -318,7 +318,7 @@ int smtp_connect(char *host, unsigned short port)
/*************************************************************************/
/* Send a line of text */
-int smtp_send(char *text)
+int smtp_send(const char *text)
{
int result = ano_sockwrite(mail.sock, text, strlen(text));
diff --git a/src/tools/db-convert.c b/src/tools/db-convert.c
index 23170e5fb..5fb7bfd57 100644
--- a/src/tools/db-convert.c
+++ b/src/tools/db-convert.c
@@ -318,7 +318,6 @@ const std::string GetLanguageID(int id)
int main(int argc, char *argv[])
{
dbFILE *f;
- HostCore *firsthc = NULL;
std::ofstream fs;
std::string hashm;
@@ -816,7 +815,6 @@ int main(int argc, char *argv[])
ChannelInfo *ci;
- Memo *memos;
for (i = 0; i < 256; i++)
{