1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 01:56:38 +02:00

Fix some warnings and errors reported by valgrind

This commit is contained in:
Adam
2013-07-03 19:44:13 -04:00
parent c62b3cb275
commit c2e1a8a3e2
4 changed files with 13 additions and 5 deletions
+3 -1
View File
@@ -51,7 +51,7 @@ struct LogSettingImpl : LogSetting, Serializable
if (ci == NULL)
return NULL;
LogSetting *ls;
LogSettingImpl *ls;
if (obj)
ls = anope_dynamic_static_cast<LogSettingImpl *>(obj);
else
@@ -69,6 +69,8 @@ struct LogSettingImpl : LogSetting, Serializable
data["extra"] >> ls->extra;
data["creator"] >> ls->creator;
data["created"] >> ls->created;
return ls;
}
};